/** * Check that the collection contains the value * @param collection Collection to check * @param value Value to check for, may be null * @throws IllegalArgumentException If collection is null or doesn't contain value */ public static final void contains(Collection collection, Object value) { contains(collection, value, null); }
/** * Check that the collection contains the value * @param collection Collection to check * @param value Value to check for, may be null * @throws IllegalArgumentException If collection is null or doesn't contain value */ public static final void contains(Collection collection, Object value) { contains(collection, value, null); }