Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for standardLastEntry (0.11 sec)

  1. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        @Override
        public @Nullable Entry<K, V> firstEntry() {
          return standardFirstEntry();
        }
    
        /*
         * We can't override lastEntry to delegate to standardLastEntry, as it would create an infinite
         * loop. Instead, we test standardLastEntry manually below.
         */
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return new StandardElementSet();
        }
    
        @Override
        public Entry<E> firstEntry() {
          return standardFirstEntry();
        }
    
        @Override
        public Entry<E> lastEntry() {
          return standardLastEntry();
        }
    
        @Override
        public Entry<E> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
          return standardPollLastEntry();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return new StandardElementSet();
        }
    
        @Override
        public Entry<E> firstEntry() {
          return standardFirstEntry();
        }
    
        @Override
        public Entry<E> lastEntry() {
          return standardLastEntry();
        }
    
        @Override
        public Entry<E> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
          return standardPollLastEntry();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       *
       * <p>If you override {@link #descendingMultiset} or {@link #entrySet()}, you may wish to override
       * {@link #firstEntry()} to forward to this implementation.
       */
      @CheckForNull
      protected Entry<E> standardLastEntry() {
        Iterator<Entry<E>> entryIterator = descendingMultiset().entrySet().iterator();
        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       *
       * <p>If you override {@link #descendingMultiset} or {@link #entrySet()}, you may wish to override
       * {@link #firstEntry()} to forward to this implementation.
       */
      @CheckForNull
      protected Entry<E> standardLastEntry() {
        Iterator<Entry<E>> entryIterator = descendingMultiset().entrySet().iterator();
        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top