public boolean contains(boolean v) {
return containsValue(v);
}
public BooleanIterator iterator() {
return new BooleanIterator() {
int nextEntry = nextEntry(0);
int lastEntry = -1;
int nextEntry(int index) {
while (index < keys.length && states[index] != OCCUPIED)