Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for creation (0.18 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      // Creation tests
    
      public void testEmptyBuilder() {
        ImmutableSortedMap<String, Integer> map =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

                        return (Map) builder.build();
                      }
                    })
                .named("ImmutableTypeToInstanceMap")
                .withFeatures(
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.RESTRICTS_KEYS,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsImplTest.java

        DIRECT_ONLY, // Element can be added and removed only via direct calls, not through iterators
        ALL // Elements can be added and removed as well as modified.
      }
    
      /** Handles the creation of lists needed for the tests */
      public abstract static class ListExample {
    
        private final String name;
        private final Modifiability modifiability;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        }
    
        inverseFeatures.add(NoRecurse.INVERSE);
        inverseFeatures.remove(CollectionFeature.KNOWN_ORDER);
        inverseFeatures.add(MapFeature.REJECTS_DUPLICATES_AT_CREATION);
    
        return inverseFeatures;
      }
    
      // TODO(lowasser): can we eliminate the duplication from MapTestSuiteBuilder here?
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .named("ImmutableMap")
                .createTestSuite());
    
        suite.addTest(
            MapTestSuiteBuilder.using(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                .named("ImmutableSet.asList")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTestSuite(ImmutableSetTest.class);
    
        return suite;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * String creation for testing arbitrary collections.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringCollectionGenerator implements TestCollectionGenerator<String> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompoundOrdering.java

      final Comparator<? super T>[] comparators;
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Comparator<? super T> primary, Comparator<? super T> secondary) {
        this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary};
      }
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) {
        this.comparators =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompoundOrdering.java

      final Comparator<? super T>[] comparators;
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Comparator<? super T> primary, Comparator<? super T> secondary) {
        this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary};
      }
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) {
        this.comparators =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top