All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.org.neodatis.btree.BTreeIteratorSingleValuePerKey Maven / Gradle / Ivy

The newest version!
package org.neodatis.btree;

import org.neodatis.odb.core.OrderByConstants;

/**
 * An iterator to iterate over NeoDatis BTree.
 * 
 * @author olivier
 * 
 */
public class BTreeIteratorSingleValuePerKey extends AbstractBTreeIterator {

	public BTreeIteratorSingleValuePerKey(IBTree tree, OrderByConstants orderByType) {
		super(tree, orderByType);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.neodatis.btree.AbstractBTreeIterator#getValueAt(org.neodatis.btree
	 * .IBTreeNode, int)
	 */
	public Object getValueAt(IBTreeNode node, int currentIndex) {
		IBTreeNodeOneValuePerKey n = (IBTreeNodeOneValuePerKey) node;
		return n.getValueAt(currentIndex);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy