- java.lang.Object
-
- org.ojalgo.array.BasicArray.BaseFactory<N,A>
-
- org.ojalgo.array.DenseArray.Factory<N,A>
-
- org.ojalgo.array.PlainArray.Factory<java.lang.Double,BufferArray>
-
- org.ojalgo.array.BufferArray.Factory
-
- All Implemented Interfaces:
Factory1D<BufferArray>,FactorySupplement
- Enclosing class:
- BufferArray
public static final class BufferArray.Factory extends PlainArray.Factory<java.lang.Double,BufferArray>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Factory1D
Factory1D.Builder<I extends Structure1D>, Factory1D.MayBeSparse<I extends Structure1D,DENSE extends Factory1D.Builder<I>,SPARSE extends Factory1D.Builder<I>>, Factory1D.TwoStep<I extends Structure1D,B extends Factory1D.Builder<I>>
-
-
Field Summary
Fields Modifier and Type Field Description private BufferArray.BufferConstructormyConstructor
-
Constructor Summary
Constructors Constructor Description Factory(MathType mathType, BufferArray.BufferConstructor constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) longgetCapacityLimit()Max number of elements in this array.BufferArraymake(int size)BufferArraymake(long size)BufferArraynewMapped(java.io.File file, long size)-
Methods inherited from class org.ojalgo.array.PlainArray.Factory
copy
-
Methods inherited from class org.ojalgo.array.DenseArray.Factory
copy, makeFilled
-
Methods inherited from class org.ojalgo.array.BasicArray.BaseFactory
aggregator, function, getElementSize, getMathType, scalar
-
-
-
-
Field Detail
-
myConstructor
private final BufferArray.BufferConstructor myConstructor
-
-
Constructor Detail
-
Factory
Factory(MathType mathType, BufferArray.BufferConstructor constructor)
-
-
Method Detail
-
make
public BufferArray make(int size)
-
make
public BufferArray make(long size)
-
newMapped
public BufferArray newMapped(java.io.File file, long size)
-
getCapacityLimit
long getCapacityLimit()
Description copied from class:BasicArray.BaseFactoryMax number of elements in this array.- Overrides:
getCapacityLimitin classPlainArray.Factory<java.lang.Double,BufferArray>
-
-