Package com.github.basking2.sdsai.dsds
Class BTreeSelection<USERKEY,STOREKEY>
- java.lang.Object
-
- com.github.basking2.sdsai.dsds.BTreeSelection<USERKEY,STOREKEY>
-
- All Implemented Interfaces:
java.lang.Iterable<USERKEY>
public class BTreeSelection<USERKEY,STOREKEY> extends java.lang.Object implements java.lang.Iterable<USERKEY>Construct a BTreeSelection from a lower key to an upper key(lower,upper].
-
-
Constructor Summary
Constructors Constructor Description BTreeSelection(BTree<USERKEY,STOREKEY,?> btree, USERKEY begin, USERKEY end)Build a new selection frombegintoendexclusive.BTreeSelection(BTreeLocation<USERKEY,STOREKEY> begin, BTreeLocation<USERKEY,STOREKEY> end)Build a new selection frombegintoendexclusive.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<USERKEY>iterator()java.lang.StringtoString()
-
-
-
Constructor Detail
-
BTreeSelection
public BTreeSelection(BTreeLocation<USERKEY,STOREKEY> begin, BTreeLocation<USERKEY,STOREKEY> end)
Build a new selection frombegintoendexclusive.Beginmust be beforeendor this will not terminate when iterated over.- Parameters:
begin- Begin, inclusive.end- End, exclusive.
-
-