static < E > boolean contains ( E [ ] d , Object o ) { int pos = getPosition ( d , o ) ; if ( d [ pos ] == null ) return false ; // else return true ; }
Tests if the set represented by given data array contains a given object .