@Override public boolean contains(Object value){
  if (value == null) {
    return false;
  }
  final Iterator it=new StepIterator(this,stepSize);
  while (it.hasNext()) {
    if (compareEqual(value,it.next())) {
      return true;
    }
  }
  return false;
}

@ Override public boolean contains ( Object value ) { if ( value == null ) { return false ; } final Iterator it = new StepIterator ( this , stepSize ) ; while ( it . hasNext ( ) ) { if ( compareEqual ( value , it . next ( ) ) ) { return true ; } } return false ; }
iterates over all values and returns true if one value matches . also see containswithinbounds .
