Uses of Interface
civitas.celestis.util.array.DoubleArray

Packages that use DoubleArray
  • Uses of DoubleArray in civitas.celestis.util.array

    Classes in civitas.celestis.util.array that implement DoubleArray
    Modifier and Type
    Class
    Description
    class 
    A basic double array with no built-in synchronization or thread-safety measures.
    Modifier and Type
    Method
    Description
    default DoubleArray
    DoubleArray.append(DoubleArray a)
    Append the provided array a to the end of this array, then returns the resulting array.
    default DoubleArray
    DoubleArray.filter(DoublePredicate f)
    Tests each element of this array using the provided predicate f, collects all elements the predicate returns true to, then returns a new array containing only the filtered elements.
    DoubleArray.from(DoubleStream s)
    Creates a new type-safe array from the provided stream of values.
    DoubleArray.map(DoubleUnaryOperator f)
    Applies the provided mapper function f to each element of this array, then returns a new array containing the return values of the function f.
    DoubleFastArray.map(DoubleUnaryOperator f)
    Applies the provided mapper function f to each element of this array, then returns a new array containing the return values of the function f.
    AtomicArray.mapToDouble(ToDoubleFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new double array containing the return values of the function f.
    FastArray.mapToDouble(ToDoubleFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new double array containing the return values of the function f.
    SafeArray.mapToDouble(ToDoubleFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new double array containing the return values of the function f.
    SyncArray.mapToDouble(ToDoubleFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new double array containing the return values of the function f.
    Between this array and the provided array a, this applies the merger function f to each corresponding pair of elements, then returns a new array containing the return values of the merger function f.
    DoubleFastArray.merge(DoubleArray a, DoubleBinaryOperator f)
    Between this array and the provided array a, this applies the merger function f to each corresponding pair of elements, then returns a new array containing the return values of the merger function f.
    DoubleArray.of(double... values)
    Creates a new type-safe array from the provided array of values.
    default DoubleArray
    DoubleArray.prepend(DoubleArray a)
    Prepends the provided array a to the front of this array, then returns the resulting array.
    DoubleArray.referenceOf(double... values)
    Creates a new type-safe reference array from the provided array of values.
    DoubleArray.resize(int size)
    Returns a resized array whose elements are mapped from that of this array's elements.
    DoubleFastArray.resize(int size)
    Returns a resized array whose elements are mapped from that of this array's elements.
    DoubleArray.subArray(int s, int e)
    Returns a sub-array of this array which represents a portion of this array between the range of [s, e).
    DoubleFastArray.subArray(int s, int e)
    Returns a sub-array of this array which represents a portion of this array between the range of [s, e).
    Methods in civitas.celestis.util.array with parameters of type DoubleArray
    Modifier and Type
    Method
    Description
    default DoubleArray
    DoubleArray.append(DoubleArray a)
    Append the provided array a to the end of this array, then returns the resulting array.
    Between this array and the provided array a, this applies the merger function f to each corresponding pair of elements, then returns a new array containing the return values of the merger function f.
    DoubleFastArray.merge(DoubleArray a, DoubleBinaryOperator f)
    Between this array and the provided array a, this applies the merger function f to each corresponding pair of elements, then returns a new array containing the return values of the merger function f.
    default DoubleArray
    DoubleArray.prepend(DoubleArray a)
    Prepends the provided array a to the front of this array, then returns the resulting array.
    void
    DoubleArray.setRange(int s, int e, DoubleArray a)
    Sets a sub-array of this array to the values of the provided sub-array a.
    void
    DoubleFastArray.setRange(int s, int e, DoubleArray a)
    Sets a sub-array of this array to the values of the provided sub-array a.
    Constructors in civitas.celestis.util.array with parameters of type DoubleArray
    Modifier
    Constructor
    Description
     
    Creates a new fast double array.
  • Uses of DoubleArray in civitas.celestis.util.tuple

    Modifier and Type
    Method
    Description
    default DoubleArray
    DoubleTuple.doubleArray()
    Returns a double array containing the components of this tuple in their proper order.