Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MinimalCollection (0.25 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  public Set<String> create(String[] elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  public Set<String> create(String[] elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        List<String> list = ImmutableList.copyOf(c);
        assertEquals(Collections.emptyList(), list);
      }
    
      public void testCopyOf_collection_oneElement() {
        Collection<String> c = MinimalCollection.of("a");
        List<String> list = ImmutableList.copyOf(c);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCopyOf_collection_oneElement() {
        Collection<String> c = MinimalCollection.of("a");
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 21K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        List<String> list = ImmutableList.copyOf(c);
        assertEquals(Collections.emptyList(), list);
      }
    
      public void testCopyOf_collection_oneElement() {
        Collection<String> c = MinimalCollection.of("a");
        List<String> list = ImmutableList.copyOf(c);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        Set<String> set = copyOf(c);
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCopyOf_collection_oneElement() {
        Collection<String> c = MinimalCollection.of("a");
        Set<String> set = copyOf(c);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        Set<String> set = copyOf(c);
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCopyOf_collection_oneElement() {
        Collection<String> c = MinimalCollection.of("a");
        Set<String> set = copyOf(c);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCopyOf_collection_oneElement() {
        Collection<String> c = MinimalCollection.of("a");
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 25.1K bytes
    - Viewed (0)
Back to top