Class ReadOnlySparseVector.SparseRandomAccessVector

  • All Implemented Interfaces:
    com.qfs.chunk.IArray, com.qfs.chunk.IArrayReader, com.qfs.chunk.IArrayWriter, com.qfs.chunk.IWritableArray, com.qfs.monitoring.memory.IMemoryMonitored, com.qfs.vector.IDelegateVector, com.qfs.vector.IRandomAccessVector, com.qfs.vector.IReleasableVector, com.qfs.vector.IVector, Serializable
    Enclosing class:
    ReadOnlySparseVector

    protected static class ReadOnlySparseVector.SparseRandomAccessVector
    extends ReadOnlySparseVector
    implements com.qfs.vector.IRandomAccessVector
    Random access version of a ReadOnlySparseVector.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.qfs.vector.impl.ADelegateReadOnlyVector

        underlying
    • Constructor Summary

      Constructors 
      Constructor Description
      SparseRandomAccessVector​(com.qfs.vector.IRandomAccessVector underlying)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.qfs.vector.IRandomAccessVector subVector​(int start, int length)  
      • Methods inherited from class com.qfs.vector.impl.ADelegateReadOnlyVector

        acquireReference, cloneOnHeap, collect, getMemoryStatistic, getUnderlying, hashCode, releaseReference
      • Methods inherited from class com.qfs.vector.impl.AReadOnlyVector

        addDouble, addFloat, addInt, addLong, copyFrom, divide, divide, minus, minusNegativeValues, minusPositiveValues, plus, plusNegativeValues, plusPositiveValues, scale, scale, scale, scale, translate, translate, translate, translate, write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong
      • Methods inherited from class com.qfs.vector.impl.AVector

        applyAsDouble, applyAsFloat, applyAsInt, applyAsLong, checkIndex, checkIndex, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, equals, isNull, quantileFloat, quantileInt, quantileLong, readBoolean, readFloat, readInt, readLong, sumDouble, sumFloat, sumInt, sumLong, toArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, toString, toString
      • Methods inherited from interface com.qfs.chunk.IArrayReader

        isNull, read, readBoolean, readDouble, readFloat, readInt, readLong
      • Methods inherited from interface com.qfs.chunk.IArrayWriter

        addDouble, addFloat, addInt, addLong, writeBoolean, writeDouble, writeFloat, writeInt, writeLong
      • Methods inherited from interface com.qfs.monitoring.memory.IMemoryMonitored

        getMemoryStatistic
      • Methods inherited from interface com.qfs.vector.IReleasableVector

        acquireReference, collect, releaseReference
      • Methods inherited from interface com.qfs.vector.IVector

        applyAsDouble, applyAsFloat, applyAsInt, applyAsLong, average, bottomK, bottomKIndices, cloneOnHeap, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, copyTo, divide, divide, equals, getBindingId, getComponentType, hashCode, minus, minusNegativeValues, minusPositiveValues, plus, plusNegativeValues, plusPositiveValues, quantileDouble, quantileFloat, quantileIndex, quantileInt, quantileLong, scale, scale, scale, scale, size, sort, sumDouble, sumFloat, sumInt, sumLong, toArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, topK, topKIndices, toRandomAccessVector, translate, translate, translate, translate, variance, write
    • Constructor Detail

      • SparseRandomAccessVector

        public SparseRandomAccessVector​(com.qfs.vector.IRandomAccessVector underlying)
    • Method Detail

      • subVector

        public com.qfs.vector.IRandomAccessVector subVector​(int start,
                                                            int length)
        Specified by:
        subVector in interface com.qfs.vector.IRandomAccessVector
        Specified by:
        subVector in interface com.qfs.vector.IVector
        Overrides:
        subVector in class ReadOnlySparseVector