Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IndexedImmutableSet (0.15 sec)

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

          @Override
          public E get(int index) {
            return IndexedImmutableSet.this.get(index);
          }
    
          @Override
          boolean isPartialView() {
            return IndexedImmutableSet.this.isPartialView();
          }
    
          @Override
          public int size() {
            return IndexedImmutableSet.this.size();
          }
    
          @Override
          ImmutableCollection<E> delegateCollection() {
    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/JdkBackedImmutableSet.java

     * for serialization to work.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableSet<E> extends IndexedImmutableSet<E> {
      private final Set<?> delegate;
      private final ImmutableList<E> delegateList;
    
      JdkBackedImmutableSet(Set<?> delegate, ImmutableList<E> delegateList) {
        this.delegate = delegate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

      public ImmutableSet<E> elementSet() {
        ImmutableSet<E> result = elementSet;
        return (result == null) ? elementSet = new ElementSet() : result;
      }
    
      @WeakOuter
      private final class ElementSet extends IndexedImmutableSet<E> {
    
        @Override
        E get(int index) {
          return contents.getKey(index);
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableTable.java

      @Override
      final ImmutableSet<Cell<R, C, V>> createCellSet() {
        return isEmpty() ? ImmutableSet.<Cell<R, C, V>>of() : new CellSet();
      }
    
      @WeakOuter
      private final class CellSet extends IndexedImmutableSet<Cell<R, C, V>> {
        @Override
        public int size() {
          return RegularImmutableTable.this.size();
        }
    
        @Override
        Cell<R, C, V> get(int index) {
          return getCell(index);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableMap.java

      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new KeySet<>(this);
      }
    
      @GwtCompatible(emulated = true)
      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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top