Logo Search packages:      
Sourcecode: qdbm version File versions  Download package

int Villa::nnum (  )  throws VillaException [inline]

Get the number of the non-leaf nodes of B+ tree.

Returns:
the number of the non-leaf nodes.
Exceptions:
VillaException if an error occurs.

Definition at line 560 of file Villa.java.

References index.

                                          {
    if(index < 0) throw new VillaException();
    synchronized(ADBM.class){
      int rv = vlnnum(index);
      if(rv == -1) throw new VillaException(vlecode());
      return rv;
    }
  }


Generated by  Doxygen 1.6.0   Back to index