public ArrayList rangeLookup(Key minKey, Key maxKey, boolean includeMinKey, boolean includeMaxKey, KernelContext kContext) throws ChaiDBException {
kContext.checkLock(getBTreeName());
ArrayList keys = rangeLookupKeys(minKey, maxKey, includeMinKey, includeMaxKey, kContext);
try {
ArrayList newList = new ArrayList(keys.size());
DuplicatedKeyIterator it = null;
Key key;
for (int i = 0; i < keys.size(); i++) {
key = (Key) keys.get(i);
it = lookup(key, kContext);
newList.add(it);