Copy { public static <T> FluentList<T> unique(Collection<T> source) { return new FluentList<T>(source).unique(); } private  Copy(); static FluentList<T> list(T value); static FluentList<T> list(T... array); static FluentList<T> copy(Collection<T> collection); static FluentList<T> list(Collection<T> collection); static FluentList<T> reverse(Collection<T> source); static FluentList<T> unique(Collection<T> source); static List<T> union(Collection<? extends T>... sources); static T[] array(Class<T> type, List<T> list); static FluentMap<K, V> map(K key, V value); static MapToList<T, T> map(MapToList<T, T> source);  }
@Test public void testUnique() { FluentList<String> l = Copy.list("one", "one", "two"); Assert.assertEquals(Copy.list("one", "two"), l.unique()); }