Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for IndexedImmutableSet (0.2 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() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/IndexedImmutableSet.java

        return new ImmutableList<E>() {
          @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();
          }
    
          // redeclare to help optimizers with b/310253115
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. android/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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. 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);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultiset.java

        return isEmpty() ? ImmutableSet.<Entry<E>>of() : new EntrySet();
      }
    
      abstract Entry<E> getEntry(int index);
    
      @WeakOuter
      private final class EntrySet extends IndexedImmutableSet<Entry<E>> {
        @Override
        boolean isPartialView() {
          return ImmutableMultiset.this.isPartialView();
        }
    
        @Override
        Entry<E> get(int index) {
          return getEntry(index);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        return isEmpty() ? ImmutableSet.<Entry<E>>of() : new EntrySet();
      }
    
      abstract Entry<E> getEntry(int index);
    
      @WeakOuter
      private final class EntrySet extends IndexedImmutableSet<Entry<E>> {
        @Override
        boolean isPartialView() {
          return ImmutableMultiset.this.isPartialView();
        }
    
        @Override
        Entry<E> get(int index) {
          return getEntry(index);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top