public static interface Access1D.Fillable<N extends Number> extends Access1D.Settable<N>
Modifier and Type | Method and Description |
---|---|
void |
fillAll(N value) |
void |
fillAll(NullaryFunction<N> supplier) |
default void |
fillMatching(Access1D<?> values)
Will fill the elements of [this] with the corresponding input values, and in the process (if
necessary) convert the elements to the correct type:
|
default void |
fillMatching(Access1D<N> left,
BinaryFunction<N> function,
Access1D<N> right)
Will fill the elements of [this] with the results of element wise invocation of the input binary
funtion:
|
default void |
fillMatching(UnaryFunction<N> function,
Access1D<N> arguments)
Will fill the elements of [this] with the results of element wise invocation of the input unary
funtion:
|
void |
fillOne(long index,
N value) |
void |
fillOne(long index,
NullaryFunction<N> supplier) |
void |
fillOneMatching(long index,
Access1D<?> values,
long valueIndex) |
void |
fillRange(long first,
long limit,
N value) |
void |
fillRange(long first,
long limit,
NullaryFunction<N> supplier) |
add, add, set, set
count
void fillAll(N value)
void fillAll(NullaryFunction<N> supplier)
default void fillMatching(Access1D<?> values)
Will fill the elements of [this] with the corresponding input values, and in the process (if necessary) convert the elements to the correct type:
this(i) = values(i)
default void fillMatching(Access1D<N> left, BinaryFunction<N> function, Access1D<N> right)
Will fill the elements of [this] with the results of element wise invocation of the input binary funtion:
this(i) = function.invoke(left(i),right(i))
default void fillMatching(UnaryFunction<N> function, Access1D<N> arguments)
Will fill the elements of [this] with the results of element wise invocation of the input unary funtion:
this(i) = function.invoke(arguments(i))
void fillOne(long index, N value)
void fillOne(long index, NullaryFunction<N> supplier)
void fillOneMatching(long index, Access1D<?> values, long valueIndex)
void fillRange(long first, long limit, N value)
void fillRange(long first, long limit, NullaryFunction<N> supplier)