public static interface Mutate1D.Fillable<N extends Number> extends Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,?>>, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier and Type | Method and Description |
---|---|
default void |
fillAll(N value) |
default 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) |
default void |
fillMatching(UnaryFunction<N> function,
Access1D<N> arguments) |
void |
fillOne(long index,
Access1D<?> values,
long valueIndex) |
void |
fillOne(long index,
N value) |
void |
fillOne(long index,
NullaryFunction<N> supplier) |
default void |
fillRange(long first,
long limit,
N value) |
default void |
fillRange(long first,
long limit,
NullaryFunction<N> supplier) |
count, index, loopAll, loopMatching, loopRange, mapper, size
default void fillAll(N value)
default 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)
default void fillMatching(UnaryFunction<N> function, Access1D<N> arguments)
void fillOne(long index, Access1D<?> values, long valueIndex)
void fillOne(long index, N value)
void fillOne(long index, NullaryFunction<N> supplier)
default void fillRange(long first, long limit, N value)
default void fillRange(long first, long limit, NullaryFunction<N> supplier)
Copyright © 2019 Optimatika. All rights reserved.