- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for lastEntry (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); } @CollectionSize.Require(SEVERAL) public void testFloor() { resetWithHole(); assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); } @CollectionSize.Require(SEVERAL) public void testFloor() { resetWithHole(); assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
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) -
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) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
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( firstEntry.getValue().getKey().lowerBound, lastEntry.getValue().getKey().upperBound); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
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( firstEntry.getValue().getKey().lowerBound, lastEntry.getValue().getKey().upperBound); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
@CheckForNull public Entry<K, V> lowerEntry(K key) { return headMap(key, false).lastEntry(); } @Override @CheckForNull public K lowerKey(K key) { return keyOrNull(lowerEntry(key)); } @Override @CheckForNull public Entry<K, V> floorEntry(K key) { return headMap(key, true).lastEntry(); } @Override @CheckForNull public K floorKey(K key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
@CheckForNull public Entry<K, V> lowerEntry(K key) { return headMap(key, false).lastEntry(); } @Override @CheckForNull public K lowerKey(K key) { return keyOrNull(lowerEntry(key)); } @Override @CheckForNull public Entry<K, V> floorEntry(K key) { return headMap(key, true).lastEntry(); } @Override @CheckForNull public K floorKey(K key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().higherKey(key); } } @Override @CheckForNull public Map.Entry<K, V> lastEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().lastEntry(), mutex); } } @Override @CheckForNull public Map.Entry<K, V> lowerEntry(K key) { synchronized (mutex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().higherKey(key); } } @Override @CheckForNull public Map.Entry<K, V> lastEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().lastEntry(), mutex); } } @Override @CheckForNull public Map.Entry<K, V> lowerEntry(K key) { synchronized (mutex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (0)