Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ImmutableDoubleArray (0.1 sec)

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

    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class ImmutableDoubleArray implements Serializable {
      private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]);
    
      /** Returns the empty array. */
      public static ImmutableDoubleArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableDoubleArray of(double e0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).stream().forEach(i -> fail());
        assertThat(ImmutableDoubleArray.of(0, 1, 3).stream().toArray())
            .isEqualTo(new double[] {0, 1, 3});
      }
    
      public void testSubArray() {
        ImmutableDoubleArray iia0 = ImmutableDoubleArray.of();
        ImmutableDoubleArray iia1 = ImmutableDoubleArray.of(5);
        ImmutableDoubleArray iia3 = ImmutableDoubleArray.of(5, 25, 125);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).stream().forEach(i -> fail());
        assertThat(ImmutableDoubleArray.of(0, 1, 3).stream().toArray())
            .isEqualTo(new double[] {0, 1, 3});
      }
    
      public void testSubArray() {
        ImmutableDoubleArray iia0 = ImmutableDoubleArray.of();
        ImmutableDoubleArray iia1 = ImmutableDoubleArray.of(5);
        ImmutableDoubleArray iia3 = ImmutableDoubleArray.of(5, 25, 125);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/package-info.java

     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * <h2>Contents</h2>
     *
     * <h3>Value types</h3>
     *
     * <ul>
     *   <li>{@link ImmutableDoubleArray}
     *   <li>{@link ImmutableIntArray}
     *   <li>{@link ImmutableLongrray}
     *   <li>{@link UnsignedInteger}
     *   <li>{@link UnsignedLong}
     * </ul>
     *
     * <h3>Per-type static utilities</h3>
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Doubles.java

       * is used as a parameter to any of its methods.
       *
       * <p>The returned list is serializable.
       *
       * <p><b>Note:</b> when possible, you should represent your data as an {@link
       * ImmutableDoubleArray} instead, which has an {@link ImmutableDoubleArray#asList asList} view.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Double> asList(double... backingArray) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Doubles.java

       * is used as a parameter to any of its methods.
       *
       * <p>The returned list is serializable.
       *
       * <p><b>Note:</b> when possible, you should represent your data as an {@link
       * ImmutableDoubleArray} instead, which has an {@link ImmutableDoubleArray#asList asList} view.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Double> asList(double... backingArray) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top