Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 186 for KeySet (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          String value2 = key2.toString();
          assertSame(value1, cache.getUnchecked(key1));
          assertSame(value2, cache.getUnchecked(key2));
          assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
          assertThat(cache.asMap().values()).containsExactly(value1, value2);
          assertEquals(
              ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
              cache.asMap().entrySet());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
        return asMap().keySet();
      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ArrayTable.java

        private ArrayMap(ImmutableMap<K, Integer> keyIndex) {
          this.keyIndex = keyIndex;
        }
    
        @Override
        public Set<K> keySet() {
          return keyIndex.keySet();
        }
    
        K getKey(int index) {
          return keyIndex.keySet().asList().get(index);
        }
    
        abstract String getKeyRole();
    
        @ParametricNullness
        abstract V getValue(int index);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/ParamMap.java

            parent.putAll(m);
        }
    
        @Override
        public void clear() {
            parent.clear();
        }
    
        @Override
        public Set<K> keySet() {
            // return original keys
            return parent.keySet();
        }
    
        @Override
        public Collection<V> values() {
            return parent.values();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractTable.java

        return Maps.safeContainsKey(columnMap(), columnKey);
      }
    
      @Override
      public Set<R> rowKeySet() {
        return rowMap().keySet();
      }
    
      @Override
      public Set<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multimap.java

     * ListMultimap<String, String> multimap = ArrayListMultimap.create();
     * for (President pres : US_PRESIDENTS_IN_ORDER) {
     *   multimap.put(pres.firstName(), pres.lastName());
     * }
     * for (String firstName : multimap.keySet()) {
     *   List<String> lastNames = multimap.get(firstName);
     *   out.println(firstName + ": " + lastNames);
     * }
     * }
     *
     * ... produces output such as:
     *
     * {@snippet :
     * Zachary: [Taylor]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

            Set<?> set = (Set<?>) obj;
            return inputSet.keySet().containsAll(set);
          }
          return false;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof PowerSet) {
            PowerSet<?> that = (PowerSet<?>) obj;
            return inputSet.keySet().equals(that.inputSet.keySet());
          }
          return super.equals(obj);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

          return emptySet();
        } else {
          return emptyList();
        }
      }
    
      @Override
      public void clear() {
        keySet().clear();
      }
    
      @Override
      Set<K> createKeySet() {
        return Sets.filter(unfiltered.keySet(), keyPredicate);
      }
    
      @Override
      public Collection<V> get(@ParametricNullness K key) {
        if (keyPredicate.apply(key)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractTable.java

        return Maps.safeContainsKey(columnMap(), columnKey);
      }
    
      @Override
      public Set<R> rowKeySet() {
        return rowMap().keySet();
      }
    
      @Override
      public Set<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FilteredKeyMultimap.java

          return emptySet();
        } else {
          return emptyList();
        }
      }
    
      @Override
      public void clear() {
        keySet().clear();
      }
    
      @Override
      Set<K> createKeySet() {
        return Sets.filter(unfiltered.keySet(), keyPredicate);
      }
    
      @Override
      public Collection<V> get(@ParametricNullness K key) {
        if (keyPredicate.apply(key)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top