- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ImmutableLongArray (0.07 sec)
-
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
*/ @GwtCompatible @Immutable public final class ImmutableLongArray implements Serializable { private static final ImmutableLongArray EMPTY = new ImmutableLongArray(new long[0]); /** Returns the empty array. */ public static ImmutableLongArray of() { return EMPTY; } /** Returns an immutable array containing a single value. */ public static ImmutableLongArray of(long e0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
assertThat(reserialize(ImmutableLongArray.of(0, 1).subArray(1, 1))) .isSameInstanceAs(ImmutableLongArray.of()); ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3, 6).subArray(1, 3); ImmutableLongArray iia2 = reserialize(iia); assertThat(iia2).isEqualTo(iia); assertDoesntActuallyTrim(iia2); } private static void assertActuallyTrims(ImmutableLongArray iia) { ImmutableLongArray trimmed = iia.trimmed();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { s.defaultReadObject(); int length = s.readInt(); ImmutableLongArray.Builder builder = ImmutableLongArray.builder(); for (int i = 0; i < length; i++) { builder.add(doubleToRawLongBits(s.readDouble())); } this.longs = new AtomicLongArray(builder.build().toArray()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/package-info.java
* * <h2>Contents</h2> * * <h3>Value types</h3> * * <ul> * <li>{@link ImmutableDoubleArray} * <li>{@link ImmutableIntArray} * <li>{@link ImmutableLongArray} * <li>{@link UnsignedInteger} * <li>{@link UnsignedLong} * </ul> * * <h3>Per-type static utilities</h3> * * <ul> * <li>{@link Booleans} * <li>{@link Bytes} * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jan 03 15:30:05 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
* the returned list is unspecified. * * <p>The returned list is serializable. * * <p><b>Note:</b> when possible, you should represent your data as an {@link ImmutableLongArray} * instead, which has an {@link ImmutableLongArray#asList asList} view. * * @param backingArray the array to back the list * @return a list view of the array */ public static List<Long> asList(long... backingArray) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0)