Module tornado.api
Interface TornadoCollectionInterface<T extends Buffer>
- All Superinterfaces:
PrimitiveStorage<T>,Serializable
- All Known Implementing Classes:
VectorDouble,VectorDouble16,VectorDouble2,VectorDouble3,VectorDouble4,VectorDouble8,VectorFloat,VectorFloat16,VectorFloat2,VectorFloat3,VectorFloat4,VectorFloat8,VectorHalf,VectorHalf16,VectorHalf2,VectorHalf3,VectorHalf4,VectorHalf8,VectorInt,VectorInt16,VectorInt2,VectorInt3,VectorInt4,VectorInt8
public sealed interface TornadoCollectionInterface<T extends Buffer>
extends PrimitiveStorage<T>
permits VectorDouble, VectorDouble2, VectorDouble3, VectorDouble4, VectorDouble8, VectorDouble16, VectorFloat, VectorFloat2, VectorFloat3, VectorFloat4, VectorFloat8, VectorFloat16, VectorInt, VectorInt2, VectorInt3, VectorInt4, VectorInt8, VectorInt16, VectorHalf, VectorHalf2, VectorHalf3, VectorHalf4, VectorHalf8, VectorHalf16
TornadoCollectionInterface relies on preview features of the Java platform:
TornadoCollectionInterfacerefers to one or more preview APIs:MemorySegment.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Method Summary
Modifier and TypeMethodDescriptionlonglongMethods inherited from interface uk.ac.manchester.tornado.api.types.common.PrimitiveStorage
asBuffer, loadFromBuffer, size
-
Method Details
-
getNumBytes
long getNumBytes() -
getNumBytesWithHeader
long getNumBytesWithHeader() -
getSegment
MemorySegmentPREVIEW getSegment() -
getSegmentWithHeader
MemorySegmentPREVIEW getSegmentWithHeader()
-
TornadoCollectionInterfacewhen preview features are enabled.