org.modelsphere.jack.baseDb.db
Class DbHugeRAMRelationN
java.lang.Object
PersistentObject
org.modelsphere.jack.baseDb.db.DbRelationN
org.modelsphere.jack.baseDb.db.DbHugeRAMRelationN
public final class DbHugeRAMRelationN
- extends DbRelationN
This class is a faster alternative to DbRAMRelationN for relations that may become big, but in
counterpart it does not preserve the order of elements, so it cannot be used for lists whose
order is controlled by the user.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbHugeRAMRelationN
public DbHugeRAMRelationN()
size
public final int size()
throws DbException
- Specified by:
size
in class DbRelationN
- Throws:
DbException
elementAt
public final DbObject elementAt(int index)
throws DbException
- Specified by:
elementAt
in class DbRelationN
- Throws:
DbException
indexOf
public final int indexOf(DbObject dbo)
throws DbException
- Specified by:
indexOf
in class DbRelationN
- Throws:
DbException
checkIntegrity
public final boolean checkIntegrity()
throws DbException
- Throws:
DbException
Open ModelSphere 2007. All Rights Reserved.