Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for lastEntry (0.05 sec)

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

        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      private transient int lastEntry;
    
      CompactLinkedHashSet() {
        super();
      }
    
      CompactLinkedHashSet(int expectedSize) {
        super(expectedSize);
      }
    
      @Override
      void init(int expectedSize) {
        super.init(expectedSize);
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
      }
    
      @Override
      int allocArrays() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertNull(navigableMap.higherEntry(k0()));
        assertNull(navigableMap.higherKey(k0()));
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapLast() {
        assertNull(navigableMap.lastEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMapPollLast() {
        assertNull(navigableMap.pollLastEntry());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

              }
            }
            return false;
          }
          return true;
        }
    
        @Override
        public void remove() {
          checkState(lastEntry != null);
          LocalCache.this.remove(lastEntry.getKey(), lastEntry.getValue());
          lastEntry = null;
        }
      }
    
      /** KeyIterator build on top of EntryIterator. */
      final class KeyIterator implements Iterator<K> {
        private EntryIterator iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset();
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return forwardMultiset().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return forwardMultiset().firstEntry();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      @Nullable private transient Set<Entry<E>> entrySet;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset();
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return forwardMultiset().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return forwardMultiset().firstEntry();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      @LazyInit @CheckForNull private transient Set<Entry<E>> entrySet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

        return result;
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return delegate().firstEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

        return result;
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return delegate().firstEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().higherKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> lastEntry() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lastEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> lowerEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lowerEntry(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset();
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return forwardMultiset().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return forwardMultiset().firstEntry();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      @LazyInit @CheckForNull private transient Set<Entry<E>> entrySet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top