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

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

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

    Methods in civitas.celestis.util.tuple that return IntArray
    Modifier and Type
    Method
    Description
    default IntArray
    IntTuple.intArray()
    Returns an integer array containing the components of this tuple in their proper order.