elk-util-parent/elk-util-collections/src/main/java/org/semanticweb/elk/util/collections/LinearProbing.java
static <E> boolean contains(E[] d, Object o) {
		int pos = getPosition(d, o);
		if (d[pos] == null)
			return false;
		// else
		return true;
	}
static <E> boolean contains(E[] d, Object o) {
		int pos = getPosition(d, o);
		if (d[pos] == null)
			return false;
		// else
		return true;
	}
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.

@param d
the elements representing the set
@param o
the object to be tested on inclusion in the set
@return {@code true} if the object occurs in the array and {@code false}
otherwise
Tests if the set represented by given data array contains a given object .