HomeSort by relevance Sort by last modified time
    Searched refs:MinimalIterable (Results 1 - 9 of 9) sorted by null

  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MinimalIterable.java 54 public final class MinimalIterable<E> implements Iterable<E> {
58 public static <E> MinimalIterable<E> of(E... elements) {
60 return new MinimalIterable<E>(Arrays.asList(elements).iterator());
69 public static <E> MinimalIterable<E> from(final Collection<E> elements) {
70 return (MinimalIterable) of(elements.toArray());
75 private MinimalIterable(Iterator<E> iterator) {
  /external/guava/guava-testlib/test/com/google/common/collect/testing/
MinimalIterableTest.java 28 * Unit test for {@link MinimalIterable}.
36 Iterable<String> iterable = MinimalIterable.<String>of();
52 Iterable<String> iterable = MinimalIterable.of("a");
71 = MinimalIterable.from(Collections.<String>emptySet());
88 = MinimalIterable.from(Collections.singleton("a"));
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
AbstractImmutableSetTest.java 24 import com.google.common.collect.testing.MinimalIterable;
423 Iterable<String> iterableWithNulls = MinimalIterable.of("a", null, "b");
ImmutableListTest.java 24 import com.google.common.collect.testing.MinimalIterable;
483 Iterable<String> iterableWithNulls = MinimalIterable.of("a", null, "b");
SetsTest.java 31 import com.google.common.collect.testing.MinimalIterable;
107 = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
111 = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.B));
115 = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.D, SomeEnum.B));
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractImmutableSetTest.java 28 import com.google.common.collect.testing.MinimalIterable;
447 Iterable<String> iterableWithNulls = MinimalIterable.of("a", null, "b");
SetsTest.java 36 import com.google.common.collect.testing.MinimalIterable;
327 = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
331 = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.B));
335 = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.D, SomeEnum.B));
    [all...]
ImmutableListTest.java 30 import com.google.common.collect.testing.MinimalIterable;
800 Iterable<String> iterableWithNulls = MinimalIterable.of("a", null, "b");
  /external/guice/lib/build/
guava-testlib-19.0.jar 

Completed in 206 milliseconds