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