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

int qdbm::Villa::vnumobj ( Object  key  )  throws VillaException [inline]

Get the number of records corresponding a key, composed of serializable objects. The same as `vnum(qdbm.Util.serialize(key))'.

See also:
If serialization is failed, an instance of `VillaException' is thrown.

Definition at line 344 of file Villa.java.

References vnum().

    byte[] kbuf = Util.serialize(key);
    if(kbuf == null) throw new VillaException();
    return vnum(kbuf);

Generated by  Doxygen 1.6.0   Back to index