Interface Vector<VECTOR_TYPE extends Vector>

All Superinterfaces:
LongSizedDataStructure, Serializable
All Known Subinterfaces:
BooleanVector, ByteVector, CharVector, DoubleVector, FloatVector, IntVector, LongVector, ObjectVector<T>, ShortVector
All Known Implementing Classes:
BooleanSubVector, BooleanVector.Indirect, BooleanVectorDirect, BooleanVectorSlice, ByteSegmentedSortedMultiset, ByteSubVector, ByteVector.Indirect, ByteVectorColumnWrapper, ByteVectorDirect, ByteVectorSlice, CharSegmentedSortedMultiset, CharSubVector, CharVector.Indirect, CharVectorColumnWrapper, CharVectorDirect, CharVectorSlice, DateTimeSsmSourceWrapper.ValueWrapper, DoubleSegmentedSortedMultiset, DoubleSubVector, DoubleVector.Indirect, DoubleVectorColumnWrapper, DoubleVectorDirect, DoubleVectorSlice, FloatSegmentedSortedMultiset, FloatSubVector, FloatVector.Indirect, FloatVectorColumnWrapper, FloatVectorDirect, FloatVectorSlice, IntSegmentedSortedMultiset, IntSubVector, IntVector.Indirect, IntVectorColumnWrapper, IntVectorDirect, IntVectorSlice, LongSegmentedSortedMultiset, LongSubVector, LongVector.Indirect, LongVectorColumnWrapper, LongVectorDirect, LongVectorSlice, ObjectSegmentedSortedMultiset, ObjectSubVector, ObjectVector.Indirect, ObjectVectorColumnWrapper, ObjectVectorDirect, ObjectVectorSlice, PrevByteVectorColumnWrapper, PrevCharVectorColumnWrapper, PrevDoubleVectorColumnWrapper, PrevFloatVectorColumnWrapper, PrevIntVectorColumnWrapper, PrevLongVectorColumnWrapper, PrevObjectVectorColumnWrapper, PrevShortVectorColumnWrapper, ShortSegmentedSortedMultiset, ShortSubVector, ShortVector.Indirect, ShortVectorColumnWrapper, ShortVectorDirect, ShortVectorSlice

public interface Vector<VECTOR_TYPE extends Vector>
extends Serializable, LongSizedDataStructure
  • Field Details

  • Method Details

    • subVector

      VECTOR_TYPE subVector​(long fromIndex, long toIndex)
    • subVectorByPositions

      VECTOR_TYPE subVectorByPositions​(long[] positions)
    • toArray

      Object toArray()
    • getComponentType

      Class getComponentType()
    • toString

      default String toString​(int prefixLength)
    • isEmpty

      default boolean isEmpty()
    • getDirect

      VECTOR_TYPE getDirect()
      Return a version of this Vector that is flattened out to only reference memory.
    • clampIndex

      static long clampIndex​(long validFromInclusive, long validToExclusive, long index)
    • mapSelectedPositionRange

      static long[] mapSelectedPositionRange​(@NotNull long[] currentPositions, long selectedRangeStartInclusive, long selectedRangeEndExclusive)
    • mapSelectedPositions

      static long[] mapSelectedPositions​(@NotNull long[] currentPositions, @NotNull long[] selectedPositions)
    • classToHelper

      static Function<Object,​String> classToHelper​(Class clazz)