Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ImmutableMapKeySet (0.18 sec)

  1. guava/src/com/google/common/collect/ImmutableMapKeySet.java

     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ImmutableMapKeySet<K, V> extends IndexedImmutableSet<K> {
      private final ImmutableMap<K, V> map;
    
      ImmutableMapKeySet(ImmutableMap<K, V> map) {
        this.map = map;
      }
    
      @Override
      public int size() {
        return map.size();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        checkNotNull(action);
        entries.forEach(e -> action.accept(e.getKey(), e.getValue()));
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        return new ImmutableMapValues<>(this);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top