Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ImmutableLongArray (0.22 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

    @Immutable
    @ElementTypesAreNonnullByDefault
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top