Class IntVectorSubsetStorage
- java.lang.Object
-
- org.processmining.specpp.datastructures.vectorization.IntVectorStorage
-
- org.processmining.specpp.datastructures.vectorization.IntVectorSubsetStorage
-
- All Implemented Interfaces:
OnlyCoversIndexSubset,Mappable<java.util.function.IntUnaryOperator>,Mathable<IntVectorStorage>,Copyable<IntVectorStorage>,PartiallyOrdered<IntVectorStorage>
public class IntVectorSubsetStorage extends IntVectorStorage implements OnlyCoversIndexSubset
-
-
Field Summary
-
Fields inherited from class org.processmining.specpp.datastructures.vectorization.IntVectorStorage
MIN_SPLIT_VECTOR_COUNT
-
-
Constructor Summary
Constructors Constructor Description IntVectorSubsetStorage(IndexSubset indexSubset, int[] data, int[] startIndices)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexSubsetgetIndexSubset()java.nio.IntBuffergetVector(int index)java.util.Spliterator.OfIntgetVectorInternal(int index)java.util.Spliterator.OfIntgetVectorSpliterator(int index)booleangt(IntVectorStorage other)java.util.Spliterator<IndexedItem<java.nio.IntBuffer>>indexedSpliterator()java.util.Spliterator<IndexedItem<java.nio.IntBuffer>>indexedSpliterator(BitMask bitMask)java.util.stream.IntStreamindexStream()booleanlt(IntVectorStorage other)protected intmapIndex(int i)protected java.util.stream.IntStreammapIndices(java.util.stream.IntStream is)voidmapVector(int index, java.util.function.IntUnaryOperator mapper)voidsetVector(int index, int[] vector)voidsetVectorElement(int index, int elementIndex, int value)java.util.Spliterator<java.nio.IntBuffer>spliterator()java.util.Spliterator<java.nio.IntBuffer>spliterator(BitMask bitMask)java.util.stream.IntStreamviewVector(int index)static IntVectorSubsetStoragezeros(IndexSubset indexSubset, int[] lengths)-
Methods inherited from class org.processmining.specpp.datastructures.vectorization.IntVectorStorage
add, copy, differencing, getIndexedVectors, getIndexedVectors, getTotalSize, getVectorCount, getVectorLength, getVectors, getVectors, isValidVectorIndex, map, negate, subtract, toString, vectorwisePredicateStream, vectorwisePredicateStream, view, view, viewIndexed, viewIndexed, zeros, zeros
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.traits.PartiallyOrdered
equivalent
-
-
-
-
Constructor Detail
-
IntVectorSubsetStorage
public IntVectorSubsetStorage(IndexSubset indexSubset, int[] data, int[] startIndices)
-
-
Method Detail
-
zeros
public static IntVectorSubsetStorage zeros(IndexSubset indexSubset, int[] lengths)
-
mapIndex
protected int mapIndex(int i)
-
mapIndices
protected java.util.stream.IntStream mapIndices(java.util.stream.IntStream is)
-
setVector
public void setVector(int index, int[] vector)- Overrides:
setVectorin classIntVectorStorage
-
setVectorElement
public void setVectorElement(int index, int elementIndex, int value)- Overrides:
setVectorElementin classIntVectorStorage
-
getVectorSpliterator
public java.util.Spliterator.OfInt getVectorSpliterator(int index)
- Overrides:
getVectorSpliteratorin classIntVectorStorage
-
getVectorInternal
public java.util.Spliterator.OfInt getVectorInternal(int index)
-
mapVector
public void mapVector(int index, java.util.function.IntUnaryOperator mapper)- Overrides:
mapVectorin classIntVectorStorage
-
viewVector
public java.util.stream.IntStream viewVector(int index)
- Overrides:
viewVectorin classIntVectorStorage
-
getVector
public java.nio.IntBuffer getVector(int index)
- Overrides:
getVectorin classIntVectorStorage
-
indexStream
public java.util.stream.IntStream indexStream()
- Overrides:
indexStreamin classIntVectorStorage
-
gt
public boolean gt(IntVectorStorage other)
- Specified by:
gtin interfacePartiallyOrdered<IntVectorStorage>- Overrides:
gtin classIntVectorStorage
-
lt
public boolean lt(IntVectorStorage other)
- Specified by:
ltin interfacePartiallyOrdered<IntVectorStorage>- Overrides:
ltin classIntVectorStorage
-
spliterator
public java.util.Spliterator<java.nio.IntBuffer> spliterator()
- Overrides:
spliteratorin classIntVectorStorage
-
indexedSpliterator
public java.util.Spliterator<IndexedItem<java.nio.IntBuffer>> indexedSpliterator()
- Overrides:
indexedSpliteratorin classIntVectorStorage
-
spliterator
public java.util.Spliterator<java.nio.IntBuffer> spliterator(BitMask bitMask)
- Overrides:
spliteratorin classIntVectorStorage
-
indexedSpliterator
public java.util.Spliterator<IndexedItem<java.nio.IntBuffer>> indexedSpliterator(BitMask bitMask)
- Overrides:
indexedSpliteratorin classIntVectorStorage
-
getIndexSubset
public IndexSubset getIndexSubset()
- Specified by:
getIndexSubsetin interfaceOnlyCoversIndexSubset
-
-