Package com.macrofocus.molap.index
Class AbstractUniqueIndex<K>
- java.lang.Object
-
- com.macrofocus.index.AbstractIndex<K>
-
- com.macrofocus.molap.index.AbstractUniqueIndex<K>
-
- All Implemented Interfaces:
com.macrofocus.index.Index<K>
,UniqueIndex<K>
- Direct Known Subclasses:
DefaultUniqueIndex
,EmptyUniqueIndex
,IntegerListUniqueIndex
,IntegerRangeUniqueIndex
,SortedUniqueIndex
public abstract class AbstractUniqueIndex<K> extends com.macrofocus.index.AbstractIndex<K> implements UniqueIndex<K>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.molap.index.UniqueIndex
UniqueIndex.Duplicate
-
-
Constructor Summary
Constructors Constructor Description AbstractUniqueIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UniqueIndex<K>
difference(UniqueIndex<K> other)
UniqueIndex<K>
intersection(UniqueIndex<K> other)
java.lang.Iterable<K>
keys()
UniqueIndex<K>
union(UniqueIndex<K> other)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.macrofocus.molap.index.UniqueIndex
getAddress, head, keepAddresses, tail
-
-
-
-
Method Detail
-
union
public UniqueIndex<K> union(UniqueIndex<K> other)
- Specified by:
union
in interfaceUniqueIndex<K>
-
intersection
public UniqueIndex<K> intersection(UniqueIndex<K> other)
- Specified by:
intersection
in interfaceUniqueIndex<K>
-
difference
public UniqueIndex<K> difference(UniqueIndex<K> other)
- Specified by:
difference
in interfaceUniqueIndex<K>
-
-