Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for lastKey (0.04 sec)

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

          }
          return ((SortedMap<C, V>) backingRowMap).firstKey();
        }
    
        @Override
        public C lastKey() {
          updateBackingRowMapField();
          if (backingRowMap == null) {
            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
        transient @Nullable SortedMap<C, V> wholeRow;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeBasedTable.java

          }
          return ((SortedMap<C, V>) backingRowMap).firstKey();
        }
    
        @Override
        public C lastKey() {
          updateBackingRowMapField();
          if (backingRowMap == null) {
            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
        transient @Nullable SortedMap<C, V> wholeRow;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

        return Iterables.<@Nullable Entry<K, V>>getFirst(descendingMap().entrySet(), null);
      }
    
      /**
       * A sensible definition of {@link #lastKey} in terms of {@code lastEntry}. If you override {@code
       * lastEntry}, you may wish to override {@code lastKey} to forward to this implementation.
       */
      protected K standardLastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableMap.java

        return Iterables.<@Nullable Entry<K, V>>getFirst(descendingMap().entrySet(), null);
      }
    
      /**
       * A sensible definition of {@link #lastKey} in terms of {@code lastEntry}. If you override {@code
       * lastEntry}, you may wish to override {@code lastKey} to forward to this implementation.
       */
      protected K standardLastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @Override
        @ParametricNullness
        public K firstKey() {
          return sortedMap().firstKey();
        }
    
        @Override
        @ParametricNullness
        public K lastKey() {
          return sortedMap().lastKey();
        }
    
        @Override
        public SortedMap<K, Collection<V>> headMap(@ParametricNullness K toKey) {
          return new SortedAsMap(sortedMap().headMap(toKey));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return comparator;
      }
    
      @Override
      public @Nullable K firstKey() {
        return sortedDelegate.firstKey();
      }
    
      @Override
      public @Nullable K lastKey() {
        return sortedDelegate.lastKey();
      }
    
      @Nullable K higher(K k) {
        Iterator<K> iterator = keySet().tailSet(k).iterator();
        while (iterator.hasNext()) {
          K tmp = iterator.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        assertSame("bar", sortedTable.rowMap().firstKey());
      }
    
      public void testRowMapLastKey() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSame("foo", sortedTable.rowMap().lastKey());
      }
    
      public void testRowKeyMapHeadMap() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Map<String, Map<Integer, Character>> map = sortedTable.rowMap().headMap("cat");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        SortedMap<String, Collection<Integer>> asMap = multimap.asMap();
        assertEquals(Ordering.natural(), asMap.comparator());
        assertEquals("foo", asMap.firstKey());
        assertEquals("tree", asMap.lastKey());
        Set<Integer> fooValues = ImmutableSet.of(1, 3, 7);
        Set<Integer> googleValues = ImmutableSet.of(2, 6);
        Set<Integer> treeValues = ImmutableSet.of(4, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        removeFromReplica(replica, replicatedMinValue);
      }
    
      private static void removeMaxFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int maxValue) {
        Integer replicatedMaxValue = replica.lastKey();
        assertTrue("maxValue is incorrect", replicatedMaxValue == maxValue);
        removeFromReplica(replica, replicatedMaxValue);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  10. cmd/last-minute_gen.go

    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002)
    								return
    							}
    						}
    					}
    				}
    			case "LastSec":
    				z[za0001].LastSec, err = dc.ReadInt64()
    				if err != nil {
    					err = msgp.WrapError(err, za0001, "LastSec")
    					return
    				}
    			default:
    				err = dc.Skip()
    				if err != nil {
    					err = msgp.WrapError(err, za0001)
    					return
    				}
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
Back to top