code: public static <T> boolean arrayContains(T[] array, T object) {
  		if (array == null) {
  			throw new NullArgumentException("array");
  		}
  
  		for (T arrayObject : array) {
  			if (arrayObject.equals(object)) {
  				return true;
  			}
  		}
  
  		return false;
  	}
docs: //////////////