Package com.db4o.foundation

Examples of com.db4o.foundation.Hashtable4


        initYapClassesOnUp();
    }

    void initTables(int a_size) {
        i_classes = new Collection4();
        i_yapClassByBytes = new Hashtable4(a_size);
        if (a_size < 16) {
            a_size = 16;
        }
        i_yapClassByClass = new Hashtable4(a_size);
        i_yapClassByID = new Hashtable4(a_size);
        i_creating = new Hashtable4(1);
    }
View Full Code Here


  Hashtable4 classByBytes(){
      return i_yapClassByBytes;
    }
   
    private void applyReadAs(){
        final Hashtable4 readAs = stream().configImpl().readAs();
        readAs.forEachKey(new Visitor4() {
            public void visit(Object a_object) {
                String dbName = (String)a_object;
                byte[] dbbytes = getNameBytes(dbName);
                String useName = (String)readAs.get(dbName);
                byte[] useBytes = getNameBytes(useName);
                if(classByBytes().get(useBytes) == null){
                    ClassMetadata yc = (ClassMetadata)classByBytes().get(dbbytes);
                    if(yc != null){
                        yc.i_nameBytes = useBytes;
View Full Code Here

    private final Hashtable4 _referenceMap;
    private final Hashtable4 _identityMap;

    public MigrationConnection(ObjectContainerBase peerA, ObjectContainerBase peerB) {
        _referenceMap = new Hashtable4();
        _identityMap = new Hashtable4();
        _peerA = peerA;
        _peerB = peerB;
    }
View Full Code Here

TOP

Related Classes of com.db4o.foundation.Hashtable4

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.