Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 507 for _values (0.36 sec)

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

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnPresentKey_supported() {
        assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), null)));
        assertGet(k0(), v0(), v3(), null);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnAbsentKey_supported() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

        expectAdded(e3());
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testOffer_nullUnsupported() {
        try {
          getQueue().offer(null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

              fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException expected) {
            }
          }
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullUnsupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          try {
            entry.setValue(null);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
        initMapWithNullValue();
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nullContained() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentNullToPresentNonnull() {
        initMapWithNullValue();
        V value = getValueForNullKey();
        assertEquals(
            "Map.compute(presentMappedToNull, functionReturningValue) should return new value",
            value,
            getMap()
                .compute(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.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 com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionSize;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

          K k = entry.getKey();
          V v = entry.getValue();
    
          Set<V> values = multimap().get(k);
          Set<V> expectedValues = copyToSet(values);
    
          assertFalse(multimap().put(k, v));
          assertEquals(expectedValues, values);
          assertGet(k, expectedValues);
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValue_null() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (1)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.Helpers;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAll_nullValueSupported() {
        putAll(containsNullValue);
        expectAdded(containsNullValue.get(0));
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAll_nullValueUnsupported() {
        try {
          putAll(containsNullValue);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top