Package org.ojalgo.array
Class BufferZ008
- java.lang.Object
-
- org.ojalgo.array.BasicArray<N>
-
- org.ojalgo.array.DenseArray<N>
-
- org.ojalgo.array.PlainArray<java.lang.Double>
-
- org.ojalgo.array.BufferArray
-
- org.ojalgo.array.BufferZ008
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.RandomAccess
,Access1D<java.lang.Double>
,Access1D.Aggregatable<java.lang.Double>
,Access1D.Collectable<java.lang.Double,Mutate1D>
,Access1D.Visitable<java.lang.Double>
,Factory1D.Builder<DenseArray<java.lang.Double>>
,Mutate1D
,Mutate1D.Fillable<java.lang.Double>
,Mutate1D.Modifiable<java.lang.Double>
,Structure1D
final class BufferZ008 extends BufferArray
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ojalgo.array.BufferArray
BufferArray.BufferConstructor, BufferArray.Factory, BufferArray.MappedFileFactory
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends java.lang.Comparable<N>>, Access1D.Collectable<N extends java.lang.Comparable<N>,R extends Mutate1D>, Access1D.ElementView<N extends java.lang.Comparable<N>>, Access1D.SelectionView<N extends java.lang.Comparable<N>>, Access1D.Sliceable<N extends java.lang.Comparable<N>>, Access1D.Visitable<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends java.lang.Comparable<N>>, Mutate1D.Mixable<N extends java.lang.Comparable<N>>, Mutate1D.Modifiable<N extends java.lang.Comparable<N>>, Mutate1D.ModifiableReceiver<N extends java.lang.Comparable<N>>, Mutate1D.Receiver<N extends java.lang.Comparable<N>>, Mutate1D.Sortable
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,B>>, Structure1D.LongIndex, Structure1D.LoopCallback
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.ByteBuffer
myBuffer
-
Fields inherited from class org.ojalgo.array.PlainArray
CHARACTERISTICS, MAX_SIZE
-
-
Constructor Summary
Constructors Constructor Description BufferZ008(BufferArray.Factory factory, java.nio.ByteBuffer buffer, java.lang.AutoCloseable closeable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(int index, java.lang.Comparable<?> addend)
byte
byteValue(int index)
protected void
fillOne(int index, NullaryFunction<?> supplier)
float
floatValue(int index)
void
set(int index, byte value)
void
set(int index, double value)
void
set(int index, long value)
-
Methods inherited from class org.ojalgo.array.BufferArray
add, add, add, add, add, add, close, exchange, fill, fill, fillOne, fillOne, get, indexOfLargest, isAbsolute, isSmall, modify, modify, modify, modify, modify, modify, modifyOne, reset, searchAscending, set, sortAscending, sortDescending, visit, visitOne
-
Methods inherited from class org.ojalgo.array.PlainArray
add, add, add, add, add, add, add, byteValue, count, doubleValue, doubleValue, exchange, fill, fill, fillAll, fillAll, fillRange, fillRange, floatValue, get, indexOfLargest, intValue, intValue, longValue, longValue, modify, modify, modify, modifyOne, set, set, set, set, set, set, set, set, set, set, shortValue, shortValue, size, visit, visitOne
-
Methods inherited from class org.ojalgo.array.DenseArray
build
-
Methods inherited from class org.ojalgo.array.BasicArray
aggregateRange, equals, factory, getMathType, hashCode, indexOfLargest, isPrimitive, modifyAll, modifyMatching, modifyMatching, modifyRange, supplyTo, toString, visitAll, visitRange, wrapInArray1D, wrapInArray2D, wrapInArrayAnyD
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, dot, elements, nonzeros, select, supplyTo, toRawCopy1D
-
Methods inherited from interface org.ojalgo.structure.Access1D.Aggregatable
aggregateAll
-
Methods inherited from interface org.ojalgo.structure.Access1D.Collectable
collect
-
Methods inherited from interface org.ojalgo.structure.Mutate1D.Fillable
fillCompatible, fillMatching, fillMatching, fillMatching
-
-
-
-
Constructor Detail
-
BufferZ008
BufferZ008(BufferArray.Factory factory, java.nio.ByteBuffer buffer, java.lang.AutoCloseable closeable)
-
-
Method Detail
-
byteValue
public byte byteValue(int index)
- Specified by:
byteValue
in interfaceAccess1D<java.lang.Double>
- Specified by:
byteValue
in classPlainArray<java.lang.Double>
-
floatValue
public float floatValue(int index)
- Specified by:
floatValue
in interfaceAccess1D<java.lang.Double>
- Specified by:
floatValue
in classPlainArray<java.lang.Double>
-
set
public void set(int index, byte value)
- Specified by:
set
in interfaceMutate1D
- Overrides:
set
in classPlainArray<java.lang.Double>
-
set
public void set(int index, double value)
- Specified by:
set
in interfaceMutate1D
- Specified by:
set
in classPlainArray<java.lang.Double>
-
set
public void set(int index, long value)
- Specified by:
set
in interfaceMutate1D
- Specified by:
set
in classPlainArray<java.lang.Double>
-
add
protected void add(int index, java.lang.Comparable<?> addend)
- Specified by:
add
in classPlainArray<java.lang.Double>
-
fillOne
protected void fillOne(int index, NullaryFunction<?> supplier)
- Specified by:
fillOne
in classPlainArray<java.lang.Double>
-
-