public boolean remove(Set<?> set, Object object) {
		if (set == null || object == null) {
			return false;
		}
		
		return set.remove(object);
	}
public boolean remove ( Set < ? > set , Object object ) { if ( set == null || object == null ) { return false ; } return set . remove ( object ) ; }
Remove the given object from the given set.

@param set The set to remove from
@param object The object to remove

@return <code>true</code> if the object was removed and contained in the
set, <code>false</code> otherwise

@see Set#remove(Object)