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