- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for design (0.28 sec)
-
android/guava/src/com/google/common/primitives/Doubles.java
// long bits = Double.doubleToLongBits(value); // return (int) (bits ^ (bits >>> 32)); } /** * Compares the two specified {@code double} values. The sign of the value returned is the same as * that of <code>((Double) a).{@linkplain Double#compareTo compareTo}(b)</code>. As with that * method, {@code NaN} is treated as greater than all other values, and {@code 0.0 > -0.0}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
.that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { for (short x : VALUES) { for (short y : VALUES) { // Only compare the sign of the result of compareTo(). int expected = Short.valueOf(x).compareTo(y); int actual = Shorts.compare(x, y); if (expected == 0) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
} if (value < Character.MIN_VALUE) { return Character.MIN_VALUE; } return (char) value; } /** * Compares the two specified {@code char} values. The sign of the value returned is the same as * that of {@code ((Character) a).compareTo(b)}. * * <p><b>Java 7+ users:</b> this method should be treated as deprecated; use the equivalent {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* API</h2> * * <p>The successor to Guava's caching API is <a * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>. Its API is designed to make it a * nearly drop-in replacement. It requires Java 8+, and is not available for Android or GWT/J2CL, * and may have <a href="https://github.com/ben-manes/caffeine/wiki/Guava">different (usually
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
import java.util.logging.Logger; /** * Dispatches events to listeners, and provides ways for listeners to register themselves. * * <h2>Avoid EventBus</h2> * * <p><b>We recommend against using EventBus.</b> It was designed many years ago, and newer * libraries offer better ways to decouple components and react to events. * * <p>To decouple components, we recommend a dependency-injection framework. For Android code, most
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 25 16:37:57 GMT 2021 - 12.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/GeneralRange.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A generalized interval on any ordering, for internal use. Supports {@code null}. Unlike {@link * Range}, this allows the use of an arbitrary comparator. This is designed for use in the * implementation of subcollections of sorted collection types. * * <p>Whenever possible, use {@code Range} instead, which is better supported. * * @author Louis Wasserman */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/BaseGraph.java
* {@link Collection#contains(Object)} (which does not generally throw if the object cannot be * present in the collection), and the desire to have this method's behavior be compatible with * {@code edges().contains(endpoints)}. * * @since 27.1 */ boolean hasEdgeConnecting(EndpointPair<N> endpoints);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 8.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
for (int i = 0; i < VALUES.length; i++) { for (int j = 0; j < VALUES.length; j++) { byte x = VALUES[i]; byte y = VALUES[j]; // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y) .that(Math.signum(Ints.compare(i, j))) .isEqualTo(Math.signum(UnsignedBytes.compare(x, y))); } } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
private BigIntegerToDoubleRounder() {} @Override double roundToDoubleArbitrarily(BigInteger bigInteger) { return DoubleUtils.bigToDouble(bigInteger); } @Override int sign(BigInteger bigInteger) { return bigInteger.signum(); } @Override BigInteger toX(double d, RoundingMode mode) { return DoubleMath.roundToBigInteger(d, mode); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 18.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
.isTrue(); } } public void testCompare() { for (int x : VALUES) { for (int y : VALUES) { // note: spec requires only that the sign is the same assertWithMessage(x + ", " + y) .that(Ints.compare(x, y)) .isEqualTo(Integer.valueOf(x).compareTo(y)); } } } public void testContains() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 28.4K bytes - Viewed (0)