Interface FactoryAnyD.MayBeSparse<I extends StructureAnyD, DENSE extends FactoryAnyD.Builder<I>, SPARSE extends FactoryAnyD.Builder<I>>
- All Superinterfaces:
FactoryAnyD<I>, FactoryAnyD.TwoStep<I,DENSE>, FactorySupplement
- All Known Implementing Classes:
ArrayAnyD.Factory
- Enclosing interface:
FactoryAnyD<I extends StructureAnyD>
public static interface FactoryAnyD.MayBeSparse<I extends StructureAnyD, DENSE extends FactoryAnyD.Builder<I>, SPARSE extends FactoryAnyD.Builder<I>>
extends FactoryAnyD.TwoStep<I,DENSE>
For when the structures can be either dense or sparse.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FactoryAnyD
FactoryAnyD.Builder<I>, FactoryAnyD.MayBeSparse<I,DENSE, SPARSE>, FactoryAnyD.TwoStep<I, B> -
Method Summary
Modifier and TypeMethodDescriptiondefault DENSEnewBuilder(long... shape) newDenseBuilder(long... shape) newSparseBuilder(long... shape) Methods inherited from interface FactoryAnyD
asFactory1D, makeMethods inherited from interface FactoryAnyD.TwoStep
copy, make, make, make, makeFilledMethods inherited from interface FactorySupplement
function, getMathType, scalar
-
Method Details
-
newBuilder
- Specified by:
newBuilderin interfaceFactoryAnyD.TwoStep<I extends StructureAnyD, DENSE extends FactoryAnyD.Builder<I>>
-
newDenseBuilder
-
newSparseBuilder
-