Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for lastKey (3.04 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  7. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          lastRet = cursor;
    
          // array comes from q.toArray() and so should have only E's in it
          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
          lastRet = -1;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. cmd/utils.go

    	// }
    	// fmt.Printf("resp body: %s\n", string(bodyBuf))
    	// fmt.Printf("lastReq: %#v\n", lastReq.URL.String())
    
    	// On form submission, the last redirect response contains the auth
    	// code, which we now have in `lastReq`. Exchange it for a JWT id_token.
    	q := lastReq.URL.Query()
    	// fmt.Printf("lastReq.URL: %#v q: %#v\n", lastReq.URL, q)
    	code := q.Get("code")
    	oauth2Token, err := oauth2Config.Exchange(ctx, code)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    		// set preObject deleteMarkerCount
    		if len(toDel) > 0 {
    			lastDelIndex := len(toDel) - 1
    			lastDel := toDel[lastDelIndex]
    			if lastDel.ExpireAll {
    				toDel[lastDelIndex].DeleteMarkerCount = deleteMarkerCountMap[lastDel.Name]
    				// delete the key
    				delete(deleteMarkerCountMap, lastDel.Name)
    			}
    		}
    		// send down filtered entries to be deleted using
    		// DeleteObjects method
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top