Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MinimalIterable (0.16 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<SomeEnum> none = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
        assertThat(none).isEmpty();
    
        ImmutableSet<SomeEnum> one = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.B));
        assertThat(one).contains(SomeEnum.B);
    
        ImmutableSet<SomeEnum> two = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.D, SomeEnum.B));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

    import com.google.common.base.Strings;
    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.MinimalIterable;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.MinimalIterable;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.google.ListGenerators.BuilderAddAllListGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.MinimalIterable;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.google.ListGenerators.BuilderAddAllListGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top