- 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
-
Nested classes/interfaces inherited from class org.ojalgo.array.BasicArray
BasicArray.BaseFactory<N extends java.lang.Comparable<N>,A extends BasicArray<N>>
-
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.ByteBuffermyBuffer-
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 voidadd(int index, java.lang.Comparable<?> addend)bytebyteValue(int index)protected voidfillOne(int index, NullaryFunction<?> supplier)floatfloatValue(int index)voidset(int index, byte value)voidset(int index, double value)voidset(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, asList, axpy, dot, elements, nonzeros, select, supplyTo, toList, 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:
byteValuein interfaceAccess1D<java.lang.Double>- Specified by:
byteValuein classPlainArray<java.lang.Double>
-
floatValue
public float floatValue(int index)
- Specified by:
floatValuein interfaceAccess1D<java.lang.Double>- Specified by:
floatValuein classPlainArray<java.lang.Double>
-
set
public void set(int index, byte value)- Specified by:
setin interfaceMutate1D- Overrides:
setin classPlainArray<java.lang.Double>
-
set
public void set(int index, double value)- Specified by:
setin interfaceMutate1D- Specified by:
setin classPlainArray<java.lang.Double>
-
set
public void set(int index, long value)- Specified by:
setin interfaceMutate1D- Specified by:
setin classPlainArray<java.lang.Double>
-
add
protected void add(int index, java.lang.Comparable<?> addend)- Specified by:
addin classPlainArray<java.lang.Double>
-
fillOne
protected void fillOne(int index, NullaryFunction<?> supplier)- Specified by:
fillOnein classPlainArray<java.lang.Double>
-
-