Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 891 for _values (0.17 sec)

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

      @CollectionFeature.Require(value = KNOWN_ORDER, absent = NON_STANDARD_TOSTRING)
      public void testToString_sizeSeveral() {
        String expected = Helpers.copyToList(getOrderedElements()).toString();
        assertEquals("collection.toString() incorrect", expected, collection.toString());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testToString_null() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsTesting.java

          (11.0 - INTEGER_MANY_VALUES_MEAN) * (11.0 - INTEGER_MANY_VALUES_MEAN)
              + (-22.0 - INTEGER_MANY_VALUES_MEAN) * (-22.0 - INTEGER_MANY_VALUES_MEAN)
              + (3333.0 - INTEGER_MANY_VALUES_MEAN) * (3333.0 - INTEGER_MANY_VALUES_MEAN)
              + (-4444.0 - INTEGER_MANY_VALUES_MEAN) * (-4444.0 - INTEGER_MANY_VALUES_MEAN)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAll_nullPresent() {
        initCollectionWithNullElement();
        assertTrue(collection.containsAll(MinimalCollection.of((E) null)));
      }
    
      public void testContainsAll_wrongType() {
        Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE);
        try {
          assertFalse(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

              collection.addAll(MinimalCollection.of(e0())));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
          absent = RESTRICTS_ELEMENTS)
      public void testAddAll_nullSupported() {
        List<E> containsNull = singletonList(null);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  }
    
                  @Override
                  public @Nullable String put(String key, String value) {
                    checkNotNull(key);
                    return map.put(key, value);
                  }
                };
              }
            },
            "HashMap w/out null keys",
            ALLOWS_NULL_VALUES);
      }
    
      private static Test testsForHashMapNullValuesForbidden() {
        return wrappedHashMapTests(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  }
    
                  @Override
                  public @Nullable String put(String key, String value) {
                    checkNotNull(key);
                    return map.put(key, value);
                  }
                };
              }
            },
            "HashMap w/out null keys",
            ALLOWS_NULL_VALUES);
      }
    
      private static Test testsForHashMapNullValuesForbidden() {
        return wrappedHashMapTests(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    
      public void testCreateEmptyRangeOpenClosedSucceeds() {
        for (Integer i : IN_ORDER_VALUES) {
          GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED);
          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                    }));
        expectAdded(e3());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testMappedToNull() {
        initMapWithNullValue();
        assertEquals(
            "Map.merge(keyMappedToNull, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    getKeyForNullValue(),
                    v3(),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                  }
                })
            .named("checkedQueue/LinkedList")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(
            "multiset.remove(wrongType, 1) didn't return 0",
            0,
            getMultiset().remove(WrongType.VALUE, 1));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testRemove_nullPresent() {
        initCollectionWithNullElement();
        assertEquals(1, getMultiset().remove(null, 2));
        assertFalse(
    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