- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for isLessThan (0.17 sec)
-
guava/src/com/google/common/collect/Cut.java
@ElementTypesAreNonnullByDefault abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable { final C endpoint; Cut(C endpoint) { this.endpoint = endpoint; } abstract boolean isLessThan(C value); abstract BoundType typeAsLowerBound(); abstract BoundType typeAsUpperBound(); abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.isLessThan(0); Comparator<Bar> trueFirstComparator = comparing(Bar::isBaz, Booleans.trueFirst()); assertThat(trueFirstComparator.compare(trueBar, falseBar)).isLessThan(0); assertThat( ComparisonChain.start().compareFalseFirst(falseBar.isBaz(), trueBar.isBaz()).result()) .isLessThan(0);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.result()) .isLessThan(0); } public void testCompareFalseFirst() { assertThat(ComparisonChain.start().compareFalseFirst(true, true).result()).isEqualTo(0); assertThat(ComparisonChain.start().compareFalseFirst(true, false).result()).isGreaterThan(0); assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
@ElementTypesAreNonnullByDefault abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable { final C endpoint; Cut(C endpoint) { this.endpoint = endpoint; } abstract boolean isLessThan(C value); abstract BoundType typeAsLowerBound(); abstract BoundType typeAsUpperBound(); abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
nextComplementRangeUpperBound = positiveRange.lowerBound; if (complementLowerBoundWindow.lowerBound.isLessThan(negativeRange.lowerBound)) { return Maps.immutableEntry(negativeRange.lowerBound, negativeRange); } } else if (complementLowerBoundWindow.lowerBound.isLessThan(Cut.<C>belowAll())) { Range<C> negativeRange = Range.create(Cut.<C>belowAll(), nextComplementRangeUpperBound);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
public void testCompare() { // max value assertThat(UnsignedLongs.compare(0, 0xffffffffffffffffL)).isLessThan(0); assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0); // both with high bit set assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0); assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:36:17 GMT 2024 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
public void testCompare() { // max value assertThat(UnsignedLongs.compare(0, 0xffffffffffffffffL)).isLessThan(0); assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0); // both with high bit set assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0); assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:36:17 GMT 2024 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.trueFirst().compare(true, false)).isLessThan(0); assertThat(Booleans.trueFirst().compare(false, true)).isGreaterThan(0); } public void testFalseFirst() { assertThat(Booleans.falseFirst().compare(true, true)).isEqualTo(0); assertThat(Booleans.falseFirst().compare(false, false)).isEqualTo(0); assertThat(Booleans.falseFirst().compare(false, true)).isLessThan(0);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.trueFirst().compare(true, false)).isLessThan(0); assertThat(Booleans.trueFirst().compare(false, true)).isGreaterThan(0); } public void testFalseFirst() { assertThat(Booleans.falseFirst().compare(true, true)).isEqualTo(0); assertThat(Booleans.falseFirst().compare(false, false)).isEqualTo(0); assertThat(Booleans.falseFirst().compare(false, true)).isLessThan(0);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
// First, sanity check that naive multiplication would really overflow to a negative number: long nanosPerSecond = NANOSECONDS.convert(1, SECONDS); assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L); // Check that we wait long enough anyway (presumably as long as MAX_VALUE nanos): TimedWaiterThread waiter = new TimedWaiterThread(future, Long.MAX_VALUE, SECONDS); waiter.start();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 15.5K bytes - Viewed (0)