Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 207 for KeySet (0.03 sec)

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

        multimapView.remove("bar", 2);
        assertFalse(multimapView.containsKey("bar"));
        assertFalse(map.containsKey("bar"));
        assertEquals(map.keySet(), multimapView.keySet());
        assertEquals(map.keySet(), multimapView.keys().elementSet());
        assertThat(multimapView.keys()).contains("foo");
        assertThat(multimapView.values()).contains(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/LinkedListMultimap.java

     * order to {@code [key2, key1]}. The {@link #entries()} iterator returns mutable map entries, and
     * {@link #replaceValues} attempts to preserve iteration order as much as possible.
     *
     * <p>The collections returned by {@link #keySet()} and {@link #asMap()} iterate through the keys in
     * the order they were first added to the multimap. Similarly, {@link #get}, {@link #removeAll}, and
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
      }
    
      public void testRowOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocMap.java

        }
    
        /**
         * Returns a Set view of the keys contained in this map.
         *
         * @return a set view of the keys contained in this map
         */
        @Override
        public Set<String> keySet() {
            return parent.keySet();
        }
    
        /**
         * Returns a Collection view of the values contained in this map.
         *
         * @return a collection view of the values contained in this map
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

         */
        public CaseInsensitiveSet(final int initialCapacity) {
            map = new CaseInsensitiveMap<>(initialCapacity);
        }
    
        @Override
        public Iterator<String> iterator() {
            return map.keySet().iterator();
        }
    
        @Override
        public int size() {
            return map.size();
        }
    
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        @Override
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

                  return values().asList().get(index + 1);
                });
        List<Entry<K, V>> orderedEntries = getOrderedElements();
        int index = 0;
        for (K key : getMap().keySet()) {
          assertEquals(orderedEntries.get(index).getKey(), key);
          index++;
        }
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        return tailMap(fromKey, true);
      }
    
      @Override
      public NavigableSet<K> navigableKeySet() {
        return new Maps.NavigableKeySet<>(this);
      }
    
      @Override
      public Set<K> keySet() {
        return navigableKeySet();
      }
    
      @Override
      public NavigableSet<K> descendingKeySet() {
        return descendingMap().navigableKeySet();
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        assertThrows(UnsupportedOperationException.class, () -> map.tailMap("a").keySet().add("a"));
        assertThrows(UnsupportedOperationException.class, () -> map.headMap("r").keySet().add("a"));
        assertThrows(
            UnsupportedOperationException.class, () -> map.headMap("r").tailMap("m").keySet().add("a"));
      }
    
      public void testAsMapSortedEmpty() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top