- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SignedBytes (0.34 seconds)
-
android/guava/src/com/google/common/primitives/SignedBytes.java
* * @author Kevin Bourrillion * @since 1.0 */ // TODO(kevinb): how to prevent warning on UnsignedBytes when building GWT // javadoc? @GwtCompatible public final class SignedBytes { private SignedBytes() {} /** * The largest power of two that can be represented as a signed {@code byte}. * * @since 10.0 */ public static final byte MAX_POWER_OF_TWO = 1 << 6; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
assertThat(SignedBytes.saturatedCast(LEAST - 1L)).isEqualTo(LEAST); assertThat(SignedBytes.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST); assertThat(SignedBytes.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST); } private static void assertCastFails(long value) { try { SignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/package-info.java
* <li>{@link UnsignedLong} * </ul> * * <h3>Per-type static utilities</h3> * * <ul> * <li>{@link Booleans} * <li>{@link Bytes} * <ul> * <li>{@link SignedBytes} * <li>{@link UnsignedBytes} * </ul> * <li>{@link Chars} * <li>{@link Doubles} * <li>{@link Floats} * <li>{@link Ints} * <ul> * <li>{@link UnsignedInts}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 03 15:30:05 GMT 2025 - 2K bytes - Click Count (0)