Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,192 for _values (0.24 sec)

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

        expectUnchanged();
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
          absent = RESTRICTS_ELEMENTS)
      public void testAdd_nullSupported() {
        assertTrue("add(null) should return true", collection.add(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testAdd_nullUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        int size = getNumElements();
    
        List<V> values = Helpers.copyToList(multimap().get(k0()));
    
        assertTrue(multimap().put(k0(), v1()));
        assertTrue(multimap().put(k0(), v2()));
    
        values.add(v1());
        values.add(v2());
    
        assertGet(k0(), values);
        assertEquals(size + 2, multimap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutNullValue_supported() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}.
       */
      ALLOWS_NULL_VALUE_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * entrySet().contains(null)} or {@code entrySet().remove(null)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(ONE)
      public void testRetainAll_nullSingletonPreviouslySingletonWithNull() {
        initCollectionWithNullElement();
        expectReturnsFalse(nullSingleton);
        expectContents(createArrayWithNullElement());
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = {ZERO, ONE})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

      public void testAdd_supportedPresent() {
        assertFalse("add(present) should return false", getSet().add(e0()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedNullPresent() {
        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.features.CollectionSize;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ListsTest.java

                .withFeatures(
                    CollectionSize.SEVERAL,
                    CollectionSize.ONE,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

      public void testAdd_supportedPresent() {
        assertFalse("add(present) should return false", getSet().add(e0()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedNullPresent() {
        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top