Class BBVector
java.lang.Object
de.linusdev.lutils.struct.abstracts.Structure
de.linusdev.lutils.math.vector.buffer.BBVector
- All Implemented Interfaces:
Vector,MemorySizeable,NativeParsable
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.linusdev.lutils.math.vector.Vector
Vector.View<V extends Vector> -
Field Summary
FieldsFields inherited from class de.linusdev.lutils.struct.abstracts.Structure
byteBuf, modified, mostParentStructure, offset -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.linusdev.lutils.struct.abstracts.Structure
allocate, callUseBufferOf, claimBuffer, generateStructCode, getAlignment, getByteBuffer, getInfo, getMostParentStructure, getOffset, getRequiredSize, isInitialised, isModified, modified, modified, onModification, toString, unmodified, useBufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.linusdev.lutils.struct.abstracts.NativeParsable
getPointerMethods inherited from interface de.linusdev.lutils.math.vector.Vector
getAsView, getMemberCount
-
Field Details
-
GENERATOR
-
-
Constructor Details
-
BBVector
public BBVector()
-
-
Method Details
-
isArrayBacked
public boolean isArrayBacked()Description copied from interface:VectorWhether this vector is array backed.- Specified by:
isArrayBackedin interfaceVector- Returns:
trueif this vector is array backed.
-
isBufferBacked
public boolean isBufferBacked()Description copied from interface:VectorWhether this vector is buffer backed. If this method returnstrue,Vector.getStructure()will not throw anUnsupportedOperationException.- Specified by:
isBufferBackedin interfaceVector- Returns:
trueif this vector is buffer backed.
-
getStructure
- Specified by:
getStructurein interfaceVector- Returns:
- this vector as
Structure
-
isView
public boolean isView()Description copied from interface:VectorWhether this vector is only a view onto another vector.
-