Package com.macrofocus.molap.index
Class SortedUniqueIndex<K>
- java.lang.Object
-
- com.macrofocus.index.AbstractIndex<K>
-
- com.macrofocus.molap.index.AbstractUniqueIndex<K>
-
- com.macrofocus.molap.index.SortedUniqueIndex<K>
-
- All Implemented Interfaces:
com.macrofocus.index.Index<K>
,UniqueIndex<K>
public class SortedUniqueIndex<K> extends AbstractUniqueIndex<K>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.molap.index.UniqueIndex
UniqueIndex.Duplicate
-
-
Constructor Summary
Constructors Constructor Description SortedUniqueIndex(K... keys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(K key)
int
getAddress(K key)
K
getKey(int i)
int
getSize()
UniqueIndex<K>
head(int count)
UniqueIndex<K>
keepAddresses(int[] addresses)
UniqueIndex<K>
tail(int count)
-
Methods inherited from class com.macrofocus.molap.index.AbstractUniqueIndex
difference, intersection, keys, union
-
-
-
-
Constructor Detail
-
SortedUniqueIndex
public SortedUniqueIndex(K... keys)
-
-
Method Detail
-
contains
public boolean contains(K key)
-
getAddress
public int getAddress(K key)
-
head
public UniqueIndex<K> head(int count)
-
tail
public UniqueIndex<K> tail(int count)
-
keepAddresses
public UniqueIndex<K> keepAddresses(int[] addresses)
-
getKey
public K getKey(int i)
-
getSize
public int getSize()
-
-