Interface RingBufferVectorWrapper<T extends Vector<T>>
- All Superinterfaces:
LongSizedDataStructure
,Serializable
,Vector<T>
- All Known Implementing Classes:
ByteRingBufferVectorWrapper
,CharRingBufferVectorWrapper
,DoubleRingBufferVectorWrapper
,FloatRingBufferVectorWrapper
,IntRingBufferVectorWrapper
,LongRingBufferVectorWrapper
,ObjectRingBufferVectorWrapper
,ShortRingBufferVectorWrapper
This helper class will expose a
Vector
interface for a RingBuffer
.-
Field Summary
Fields inherited from interface io.deephaven.vector.Vector
NULL_ELEMENT_STRING, serialVersionUID
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T extends Vector<T>>
RingBufferVectorWrapper<T>makeRingBufferVectorWrapper
(@NotNull RingBuffer buffer, @Nullable Class<?> componentType) Create aRingBufferVectorWrapper
for the givenRingBuffer
.Methods inherited from interface io.deephaven.util.datastructures.LongSizedDataStructure
intSize, intSize, size
Methods inherited from interface io.deephaven.vector.Vector
copyToArray, getComponentType, getDirect, isEmpty, subVector, subVectorByPositions, toArray, toString
-
Method Details
-
makeRingBufferVectorWrapper
static <T extends Vector<T>> RingBufferVectorWrapper<T> makeRingBufferVectorWrapper(@NotNull @NotNull RingBuffer buffer, @Nullable @Nullable Class<?> componentType) Create aRingBufferVectorWrapper
for the givenRingBuffer
. Optionally, a component type can be supplied (although it will be ignored for all wrappers butObjectRingBufferVectorWrapper
).
-