Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for keySet (0.14 sec)

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

        assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
        assertEquals("[" + JOINER.join(map.values()) + "]", map.values().toString());
    
        assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet());
        assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 16:16:28 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

        getMap().remove(k0());
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveKeyFromKeySetRemovesFromInverse() {
        getMap().keySet().remove(k0());
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveFromValuesRemovesFromInverse() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

        getMap().remove(k0());
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveKeyFromKeySetRemovesFromInverse() {
        getMap().keySet().remove(k0());
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveFromValuesRemovesFromInverse() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

      }
    
      @Override
      SortedMap<K, Collection<V>> backingMap() {
        return (SortedMap<K, Collection<V>>) super.backingMap();
      }
    
      @Override
      public SortedSet<K> keySet() {
        return (SortedSet<K>) super.keySet();
      }
    
      @Override
      Set<K> createKeySet() {
        return createMaybeNavigableKeySet();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        SortedSet<@Nullable String> keySet = multimap.keySet();
    
        assertEquals(null, keySet.first());
        assertEquals("google", keySet.last());
        assertEquals(StringLength.COMPARATOR, keySet.comparator());
        assertEquals(Sets.<@Nullable String>newHashSet(null, "tree"), keySet.headSet("yahoo"));
        assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().keySet().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testValuesClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

        for (Entry<K, V> entry : getSampleElements()) {
          assertTrue(multimap().keySet().contains(entry.getKey()));
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testKeySetContainsNullKeyPresent() {
        initMultimapWithNullKey();
        assertTrue(multimap().keySet().contains(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

                return accessor.getBinaryCompatibility() == BinaryCompatibility.ACCESSORS_KEPT;
            });
            if (!keptAccessors.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet());
                throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft);
            }
    
            // Find accessors that were removed but shouldn't be
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

        assertThat(referenceQuantiles.keySet()).isEqualTo(indexes);
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
          assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes);
          for (int i : indexes) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

        assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
        assertEquals("[" + JOINER.join(map.values()) + "]", map.values().toString());
    
        assertEquals(MinimalSet.from(map.entrySet()), map.entrySet());
        assertEquals(Sets.newHashSet(map.keySet()), map.keySet());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.9K bytes
    - Viewed (0)
Back to top