Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 766 for _values (0.18 sec)

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

                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.ALLOWS_ANY_NULL_QUERIES,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.RESTRICTS_VALUES,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashMultimap.java

    public final class HashMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends HashMultimapGwtSerializationDependencies<K, V> {
      private static final int DEFAULT_VALUES_PER_KEY = 2;
    
      @VisibleForTesting transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
    
      /**
       * Creates a new, empty {@code HashMultimap} with the default initial capacities.
       *
       * <p>This method will soon be deprecated in favor of {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    public class CompactHashSetTest extends TestCase {
      public static Test suite() {
        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
                CollectionSize.ANY,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayListMultimap.java

            (multimap instanceof ArrayListMultimap)
                ? ((ArrayListMultimap<?, ?>) multimap).expectedValuesPerKey
                : DEFAULT_VALUES_PER_KEY);
        putAll(multimap);
      }
    
      /**
       * Creates a new, empty {@code ArrayList} to hold the collection of values for an arbitrary key.
       */
      @Override
      List<V> createCollection() {
        return new ArrayList<>(expectedValuesPerKey);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupported() {
        try {
          getMap().putIfAbsent(k3(), null);
          fail("putIfAbsent(key, null) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    public class CompactHashSetTest extends TestCase {
      public static Test suite() {
        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
                CollectionSize.ANY,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      }
                    })
                .named("set - set")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  }
                })
            .named("singleton")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ONE)
            .suppressing(suppressForSingletonSet())
            .createTestSuite();
      }
    
      public Test testsForHashSet() {
        return SetTestSuiteBuilder.using(
    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)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

            "Should not contain null key after unsupported put(null, value)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        assertNull("put(key, null) should return null", put(nullValueEntry));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPut_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.GENERAL_PURPOSE,
                    MultisetFeature.ENTRIES_ARE_VIEWS)
                .named("HashMultiset")
                .createTestSuite());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top