Package com.db4o.foundation

Examples of com.db4o.foundation.Iterator4Impl.current()


            Iterator4 i = new Iterator4Impl(i_stillToActivate);
            i_stillToActivate = null;

            while (i.moveNext()) {
                ObjectReference yo = (ObjectReference) i.current();
               
                i.moveNext();
                int depth = ((Integer) i.current()).intValue();
               
                Object obj = yo.getObject();
View Full Code Here


            while (i.moveNext()) {
                ObjectReference yo = (ObjectReference) i.current();
               
                i.moveNext();
                int depth = ((Integer) i.current()).intValue();
               
                Object obj = yo.getObject();
                if (obj == null) {
                    removeReference(yo);
                } else {
View Full Code Here

    final void checkNeededUpdates() {
        if (i_needsUpdate != null) {
            Iterator4 i = new Iterator4Impl(i_needsUpdate);
            while (i.moveNext()) {
                ClassMetadata yapClass = (ClassMetadata) i.current();
                yapClass.setStateDirty();
                yapClass.write(i_systemTrans);
            }
            i_needsUpdate = null;
        }
View Full Code Here

        stillToDeactivate(a_activate, a_depth, true);
        while (i_stillToDeactivate != null) {
            Iterator4 i = new Iterator4Impl(i_stillToDeactivate);
            i_stillToDeactivate = null;
            while (i.moveNext()) {
                ObjectReference currentObject = (ObjectReference) i.current();
               
                i.moveNext();
        Integer currentInteger = ((Integer) i.current());
       
        currentObject.deactivate(i_trans, currentInteger.intValue());
View Full Code Here

            i_stillToDeactivate = null;
            while (i.moveNext()) {
                ObjectReference currentObject = (ObjectReference) i.current();
               
                i.moveNext();
        Integer currentInteger = ((Integer) i.current());
       
        currentObject.deactivate(i_trans, currentInteger.intValue());
            }
        }
    }
View Full Code Here

        List4 postponedStillToSet = null;
        while (i_stillToSet != null) {
            Iterator4 i = new Iterator4Impl(i_stillToSet);
            i_stillToSet = null;
            while (i.moveNext()) {
                Integer updateDepth = (Integer)i.current();
               
                i.moveNext();
                ObjectReference ref = (ObjectReference)i.current();
               
                i.moveNext();
View Full Code Here

            i_stillToSet = null;
            while (i.moveNext()) {
                Integer updateDepth = (Integer)i.current();
               
                i.moveNext();
                ObjectReference ref = (ObjectReference)i.current();
               
                i.moveNext();
                Transaction trans = (Transaction)i.current();
               
                if(! ref.continueSet(trans, updateDepth.intValue())){
View Full Code Here

               
                i.moveNext();
                ObjectReference ref = (ObjectReference)i.current();
               
                i.moveNext();
                Transaction trans = (Transaction)i.current();
               
                if(! ref.continueSet(trans, updateDepth.intValue())){
                    postponedStillToSet = new List4(postponedStillToSet, trans);
                    postponedStillToSet = new List4(postponedStillToSet, ref);
                    postponedStillToSet = new List4(postponedStillToSet, updateDepth);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.