Package java.util

Examples of java.util.ArrayList.clone()


            //adding both operation specific and global out fault flows.

            ArrayList outFaultPhases = new ArrayList();
            outFaultPhases.addAll((ArrayList) faultExecutionChain.clone());
            msgContext.setExecutionChain((ArrayList) outFaultPhases.clone());
            msgContext.setFLOW(MessageContext.OUT_FAULT_FLOW);
            try {
                InvocationResponse pi = invoke(msgContext, NOT_RESUMING_EXECUTION);

                if (pi.equals(InvocationResponse.SUSPEND)) {
View Full Code Here


/* 1008 */         ArrayList newLights = new ArrayList(this.lights.size());
/* 1009 */         int size = this.lights.size();
/* 1010 */         for (int i = 0; i < size; i++) {
/* 1011 */           ArrayList l = (ArrayList)this.lights.get(i);
/* 1012 */           if (l != null) {
/* 1013 */             newLights.add(l.clone());
/*      */           }
/*      */           else {
/* 1016 */             newLights.add(null);
/*      */           }
/*      */         }
View Full Code Here

/* 1048 */         ArrayList newFogs = new ArrayList(this.fogs.size());
/* 1049 */         int size = this.fogs.size();
/* 1050 */         for (int i = 0; i < size; i++) {
/* 1051 */           ArrayList l = (ArrayList)this.fogs.get(i);
/* 1052 */           if (l != null) {
/* 1053 */             newFogs.add(l.clone());
/*      */           }
/*      */           else {
/* 1056 */             newFogs.add(null);
/*      */           }
/*      */         }
View Full Code Here

/* 1088 */         ArrayList newMclips = new ArrayList(this.modelClips.size());
/* 1089 */         int size = this.modelClips.size();
/* 1090 */         for (int i = 0; i < size; i++) {
/* 1091 */           ArrayList l = (ArrayList)this.modelClips.get(i);
/* 1092 */           if (l != null) {
/* 1093 */             newMclips.add(l.clone());
/*      */           }
/*      */           else {
/* 1096 */             newMclips.add(null);
/*      */           }
/*      */         }
View Full Code Here

/* 1128 */         ArrayList newAltApps = new ArrayList(this.altAppearances.size());
/* 1129 */         int size = this.altAppearances.size();
/* 1130 */         for (int i = 0; i < size; i++) {
/* 1131 */           ArrayList l = (ArrayList)this.altAppearances.get(i);
/* 1132 */           if (l != null) {
/* 1133 */             newAltApps.add(l.clone());
/*      */           }
/*      */           else {
/* 1136 */             newAltApps.add(null);
/*      */           }
/*      */         }
View Full Code Here

/*      */
/* 2173 */       s.pickable = workingpickableArray;
/* 2174 */       s.collidable = workingcollidableArray;
/*      */
/* 2177 */       s.parentBranchGroupPaths = this.branchGroupPaths;
/* 2178 */       s.branchGroupPaths = ((ArrayList)oldBranchGroupPaths.clone());
/* 2179 */       s.inViewSpecificGroup = this.inViewSpecificGroup;
/* 2180 */       childDoSetLive(child, i, s);
/*      */     }
/*      */
/* 2185 */     if (this.collisionTarget) {
View Full Code Here

private synchronized ArrayList getClonedChangeListeners() {
  ArrayList listeners = this.changeListeners;
  if (listeners == null) {
    return null;
  }
  return (ArrayList) listeners.clone();
}
private static byte[] flagsToBytes(Integer flags){
  if(flags != null) {
    return flags.toString().getBytes();
  } else {
View Full Code Here

        ArrayList preCalculatedPhases =
                confContext.getAxisConfiguration().getGlobalInFlow();
        // Set the initial execution chain in the MessageContext to a *copy* of what
        // we got above.  This allows individual message processing to change the chain without
        // affecting later messages.
        msgContext.setExecutionChain((ArrayList) preCalculatedPhases.clone());
        msgContext.setFLOW(MessageContext.IN_FLOW);
        InvocationResponse pi = invoke(msgContext);

        if (pi.equals(InvocationResponse.CONTINUE)) {
            if (msgContext.isServerSide()) {
View Full Code Here

        ArrayList preCalculatedPhases =
                confContext.getAxisConfiguration().getInFaultFlow();
        // Set the initial execution chain in the MessageContext to a *copy* of what
        // we got above.  This allows individual message processing to change the chain without
        // affecting later messages.
        msgContext.setExecutionChain((ArrayList) preCalculatedPhases.clone());
        msgContext.setFLOW(MessageContext.IN_FAULT_FLOW);
        InvocationResponse pi = invoke(msgContext);

        if (pi.equals(InvocationResponse.CONTINUE)) {
            if (msgContext.isServerSide()) {
View Full Code Here

            //adding both operation specific and global out fault flows.

            ArrayList outFaultPhases = new ArrayList();
            outFaultPhases.addAll((ArrayList) faultExecutionChain.clone());
            msgContext.setExecutionChain((ArrayList) outFaultPhases.clone());
            msgContext.setFLOW(MessageContext.OUT_FAULT_FLOW);
            pi = invoke(msgContext);
        }

        if (pi.equals(InvocationResponse.CONTINUE)) {
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.