@Test public void testContainsInstance_2() { final String instance = "ab"; Assert.assertFalse(CollectionUtil.containsInstance(Arrays.asList("a", instance, "b"), new String(instance))); }
public static <T> boolean containsInstance(final Collection<? extends T> collection, final T instance) { return -1 != CollectionUtil.indexOfInstance(collection, instance); }
CollectionUtil { public static <T> boolean containsInstance(final Collection<? extends T> collection, final T instance) { return -1 != CollectionUtil.indexOfInstance(collection, instance); } }
CollectionUtil { public static <T> boolean containsInstance(final Collection<? extends T> collection, final T instance) { return -1 != CollectionUtil.indexOfInstance(collection, instance); }  }
CollectionUtil { public static <T> boolean containsInstance(final Collection<? extends T> collection, final T instance) { return -1 != CollectionUtil.indexOfInstance(collection, instance); }  static boolean containsInstance(final Collection<? extends T> collection, final T instance); static int indexOfInstance(final Collection<? extends T> collection, final T instance); static Map<T, AtomicInteger> countOccurrences(final Collection<T> collection); static void moveEntryInInsertSortedMap(final Map<K, V> insertSortedMap, final K entryKey, final boolean increaseIndexByOne); static String toString(final Collection<?> collection, final String separator); }
CollectionUtil { public static <T> boolean containsInstance(final Collection<? extends T> collection, final T instance) { return -1 != CollectionUtil.indexOfInstance(collection, instance); }  static boolean containsInstance(final Collection<? extends T> collection, final T instance); static int indexOfInstance(final Collection<? extends T> collection, final T instance); static Map<T, AtomicInteger> countOccurrences(final Collection<T> collection); static void moveEntryInInsertSortedMap(final Map<K, V> insertSortedMap, final K entryKey, final boolean increaseIndexByOne); static String toString(final Collection<?> collection, final String separator);  }