@Test public void testCollect$list$different() throws Exception { sut.collect(valueListDifferent); verifyDifferent(sut.asSet(), sut.asList()); }
@SafeVarargs public final Collector<S> collect(S... elements) { this.base.addAll(Arrays.asList(elements)); return this; }
Collector { @SafeVarargs public final Collector<S> collect(S... elements) { this.base.addAll(Arrays.asList(elements)); return this; } }
Collector { @SafeVarargs public final Collector<S> collect(S... elements) { this.base.addAll(Arrays.asList(elements)); return this; } private  Collector(); }
Collector { @SafeVarargs public final Collector<S> collect(S... elements) { this.base.addAll(Arrays.asList(elements)); return this; } private  Collector(); @SafeVarargs final Collector<S> collect(S... elements); Collector<S> collect(Collection<? extends S> elements); Collector<S> collect(Iterator<? extends S> elements); Collector<S> collect(Iterable<? extends S> elements); List<S> asList(); Set<S> asSet(); static Collector<T> newCollector(); }
Collector { @SafeVarargs public final Collector<S> collect(S... elements) { this.base.addAll(Arrays.asList(elements)); return this; } private  Collector(); @SafeVarargs final Collector<S> collect(S... elements); Collector<S> collect(Collection<? extends S> elements); Collector<S> collect(Iterator<? extends S> elements); Collector<S> collect(Iterable<? extends S> elements); List<S> asList(); Set<S> asSet(); static Collector<T> newCollector();  }