Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for IndexedImmutableSet (0.77 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new KeySet<>(this);
      }
    
      private static final class KeySet<K> extends IndexedImmutableSet<K> {
        private final RegularImmutableMap<K, ?> map;
    
        KeySet(RegularImmutableMap<K, ?> map) {
          this.map = map;
        }
    
        @Override
        K get(int index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top