Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for get$index (0.07 seconds)

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

            return new ImmutableAsList<Entry<K, V>>() {
              @Override
              public Entry<K, V> get(int index) {
                return new AbstractMap.SimpleImmutableEntry<>(
                    keySet.asList().get(index), valueList.get(index));
              }
    
              @Override
              public Spliterator<Entry<K, V>> spliterator() {
                return CollectSpliterators.indexed(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

            return new ImmutableList<Entry<K, V>>() {
              @Override
              public Entry<K, V> get(int index) {
                return new AbstractMap.SimpleImmutableEntry<>(
                    keySet.asList().get(index), valueList.get(index));
              }
    
              @Override
              boolean isPartialView() {
                return true;
              }
    
              @Override
              public int size() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

              expand();
              newCount = this.count + 1;
            }
    
            AtomicReferenceArray<E> table = this.table;
            int index = hash & (table.length() - 1);
            E first = table.get(index);
    
            // Look for an existing entry.
            for (E e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().addAll(index, c);
          }
        }
    
        @Override
        public E get(int index) {
          synchronized (mutex) {
            return delegate().get(index);
          }
        }
    
        @Override
        public int indexOf(@Nullable Object o) {
          synchronized (mutex) {
            return delegate().indexOf(o);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              expand();
              newCount = this.count + 1;
            }
    
            AtomicReferenceArray<E> table = this.table;
            int index = hash & (table.length() - 1);
            E first = table.get(index);
    
            // Look for an existing entry.
            for (E e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().addAll(index, c);
          }
        }
    
        @Override
        public E get(int index) {
          synchronized (mutex) {
            return delegate().get(index);
          }
        }
    
        @Override
        public int indexOf(@Nullable Object o) {
          synchronized (mutex) {
            return delegate().indexOf(o);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Sets.java

                @Override
                public int size() {
                  return axes.size();
                }
    
                @Override
                public List<E> get(int index) {
                  return axes.get(index).asList();
                }
    
                @Override
                boolean isPartialView() {
                  return true;
                }
    
                // redeclare to help optimizers with b/310253115
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Sets.java

                @Override
                public int size() {
                  return axes.size();
                }
    
                @Override
                public List<E> get(int index) {
                  return axes.get(index).asList();
                }
    
                @Override
                boolean isPartialView() {
                  return true;
                }
    
                // redeclare to help optimizers with b/310253115
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/IteratorsTest.java

          public E next() {
            checkConcurrentModification();
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            canRemove = true;
            return elements.get(index++);
          }
    
          @Override
          public void remove() {
            checkConcurrentModification();
            checkRemove(canRemove);
            elements.remove(--index);
            expectedModCount = ++modCount;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

          public E next() {
            checkConcurrentModification();
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            canRemove = true;
            return elements.get(index++);
          }
    
          @Override
          public void remove() {
            checkConcurrentModification();
            checkRemove(canRemove);
            elements.remove(--index);
            expectedModCount = ++modCount;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
Back to Top