Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    /**
     * {@code keySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        return isEmpty()
            ? ImmutableSet.of()
            : new ImmutableMapEntrySet.RegularEntrySet<K, V>(this, entries);
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        for (Entry<K, V> entry : entries) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top