org.jrdf.util.btree
Class RecordIteratorHelper

java.lang.Object
  extended by org.jrdf.util.btree.RecordIteratorHelper

public final class RecordIteratorHelper
extends Object


Method Summary
static boolean contains(BTree btree, Long first, int length)
           
static boolean contains(BTree btree, Long first, Long second, int length)
           
static RecordIterator getIterator(BTree btree, Long... node)
           
static long getSize(BTree btree)
           
static boolean remove(BTree btree, Long... node)
           
static boolean removeSubIndex(BTree btree, Long first)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIterator

public static RecordIterator getIterator(BTree btree,
                                         Long... node)

contains

public static boolean contains(BTree btree,
                               Long first,
                               int length)
                        throws IOException
Throws:
IOException

contains

public static boolean contains(BTree btree,
                               Long first,
                               Long second,
                               int length)
                        throws IOException
Throws:
IOException

remove

public static boolean remove(BTree btree,
                             Long... node)
                      throws IOException
Throws:
IOException

removeSubIndex

public static boolean removeSubIndex(BTree btree,
                                     Long first)
                              throws IOException
Throws:
IOException

getSize

public static long getSize(BTree btree)
                    throws IOException
Throws:
IOException