Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for firstEntry (0.06 sec)

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

       */
      @CheckForNull @VisibleForTesting transient long[] links;
    
      /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int firstEntry;
    
      /** Pointer to the last node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int lastEntry;
    
      private final boolean accessOrder;
    
      CompactLinkedHashMap() {
    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. android/guava/src/com/google/common/collect/SortedMultisets.java

        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
          return getElementOrNull(multiset().tailMultiset(e, CLOSED).firstEntry());
        }
    
        @Override
        @CheckForNull
        public E higher(@ParametricNullness E e) {
          return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry());
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

      public int count(@CheckForNull Object element) {
        return forward.count(element);
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return forward.lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return forward.firstEntry();
      }
    
      @Override
      public int size() {
        return forward.size();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

          result.descendingMultiset = this;
          return descendingMultiset = result;
        }
        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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().descendingMap();
        }
    
        @Override
        public @Nullable Entry<K, V> firstEntry() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().firstEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> floorEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorEntry(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)
  6. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

          result.descendingMultiset = this;
          return descendingMultiset = result;
        }
        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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/LinkedHashMultimap.java

        // entry object per key.
        private ValueSetLink<K, V> firstEntry;
        private ValueSetLink<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          this.firstEntry = this;
          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      public Range<K> span() {
        Entry<Cut<K>, RangeMapEntry<K, V>> firstEntry = entriesByLowerBound.firstEntry();
        Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry();
        // Either both are null or neither is, but we check both to satisfy the nullness checker.
        if (firstEntry == null || lastEntry == null) {
          throw new NoSuchElementException();
        }
        return Range.create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. 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)
  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