- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Floor (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
} @CollectionSize.Require(SEVERAL) public void testFloorHole() { resetWithHole(); assertEquals(a, navigableSet.floor(a)); assertEquals(a, navigableSet.floor(b)); assertEquals(c, navigableSet.floor(c)); } @CollectionSize.Require(SEVERAL) public void testCeilingHole() { resetWithHole(); assertEquals(a, navigableSet.ceiling(a));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
} @CollectionSize.Require(SEVERAL) public void testFloorHole() { resetWithHole(); assertEquals(a, navigableSet.floor(a)); assertEquals(a, navigableSet.floor(b)); assertEquals(c, navigableSet.floor(c)); } @CollectionSize.Require(SEVERAL) public void testCeilingHole() { resetWithHole(); assertEquals(a, navigableSet.ceiling(a));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
NavigableSet<Integer> unfiltered = createUnfiltered(filtered); for (int i = 0; i < 10; i++) { assertEquals(unfiltered.lower(i), filtered.lower(i)); assertEquals(unfiltered.floor(i), filtered.floor(i)); assertEquals(unfiltered.ceiling(i), filtered.ceiling(i)); assertEquals(unfiltered.higher(i), filtered.higher(i)); } } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertThat(set.floor("f")).isNull(); } public void testFloor_elementPresent() { ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(new String[] {"e", "a", "e", "f", "b", "i", "d", "a", "c", "k"}); assertThat(set.floor("f")).isEqualTo("f"); assertThat(set.floor("j")).isEqualTo("i"); assertThat(set.floor("q")).isEqualTo("k"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
descendingSet = dS; return dS; } return descendingSet; } } @Override @CheckForNull public E floor(E e) { synchronized (mutex) { return delegate().floor(e); } } @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { 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
descendingSet = dS; return dS; } return descendingSet; } } @Override @CheckForNull public E floor(E e) { synchronized (mutex) { return delegate().floor(e); } } @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { 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) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
@CheckForNull public E lower(E e) { return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null); } /** @since 12.0 */ @Override @CheckForNull public E floor(E e) { return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null); } /** @since 12.0 */ @Override @CheckForNull public E ceiling(E e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
@CheckForNull public E lower(E e) { return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null); } /** @since 12.0 */ @Override @CheckForNull public E floor(E e) { return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null); } /** @since 12.0 */ @Override @CheckForNull public E ceiling(E e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0)