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

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

    Classes in civitas.celestis.util.array that implement LongArray
    Modifier and Type
    Class
    Description
    class 
    A basic long array with no built-in synchronization or thread-safety measures.
    Methods in civitas.celestis.util.array that return LongArray
    Modifier and Type
    Method
    Description
    default LongArray
    LongArray.append(LongArray a)
    Append the provided array a to the end of this array, then returns the resulting array.
    default LongArray
    LongArray.filter(LongPredicate 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.
    static LongArray
    LongArray.from(LongStream s)
    Creates a new type-safe array from the provided stream of values.
    LongArray.map(LongUnaryOperator 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.
    LongFastArray.map(LongUnaryOperator 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.mapToLong(ToLongFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new long array containing the return values of the function f.
    FastArray.mapToLong(ToLongFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new long array containing the return values of the function f.
    SafeArray.mapToLong(ToLongFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new long array containing the return values of the function f.
    SyncArray.mapToLong(ToLongFunction<? super E> f)
    Applies the provided mapper function f to each element of this array, then returns a new long 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.
    LongFastArray.merge(LongArray a, LongBinaryOperator 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.
    static LongArray
    LongArray.of(long... values)
    Creates a new type-safe array from the provided array of values.
    default LongArray
    LongArray.prepend(LongArray a)
    Prepends the provided array a to the front of this array, then returns the resulting array.
    static LongArray
    LongArray.referenceOf(long... values)
    Creates a new type-safe reference array from the provided array of values.
    LongArray.resize(int size)
    Returns a resized array whose elements are mapped from that of this array's elements.
    LongFastArray.resize(int size)
    Returns a resized array whose elements are mapped from that of this array's elements.
    LongArray.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).
    LongFastArray.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 LongArray
    Modifier and Type
    Method
    Description
    default LongArray
    LongArray.append(LongArray 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.
    LongFastArray.merge(LongArray a, LongBinaryOperator 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 LongArray
    LongArray.prepend(LongArray a)
    Prepends the provided array a to the front of this array, then returns the resulting array.
    void
    LongArray.setRange(int s, int e, LongArray a)
    Sets a sub-array of this array to the values of the provided sub-array a.
    void
    LongFastArray.setRange(int s, int e, LongArray 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 LongArray
    Modifier
    Constructor
    Description
     
    Creates a new fast long array.
  • Uses of LongArray in civitas.celestis.util.tuple

    Methods in civitas.celestis.util.tuple that return LongArray
    Modifier and Type
    Method
    Description
    default LongArray
    LongTuple.longArray()
    Returns a long array containing the components of this tuple in their proper order.