public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        DArray a = (DArray) super.cloneDAG(map);
        a.dimVector = new Vector<DArrayDimension>();
        for (int i = 0; i < dimVector.size(); i++) {
            DArrayDimension d =  dimVector.elementAt(i);
            DArrayDimension dclone = (DArrayDimension)cloneDAG(map,d);
            dclone.setContainer(a);
            a.dimVector.addElement(dclone);
        }
        return a;
    }
public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        DArray a = (DArray) super.cloneDAG(map);
        a.dimVector = new Vector<DArrayDimension>();
        for (int i = 0; i < dimVector.size(); i++) {
            DArrayDimension d =  dimVector.elementAt(i);
            DArrayDimension dclone = (DArrayDimension)cloneDAG(map,d);
            dclone.setContainer(a);
            a.dimVector.addElement(dclone);
        }
        return a;
    }
public DAPNode cloneDAG ( CloneMap map ) throws CloneNotSupportedException { DArray a = ( DArray ) super . cloneDAG ( map ) ; a . dimVector = new Vector < DArrayDimension > ( ) ; for ( int i = 0 ; i < dimVector . size ( ) ; i ++ ) { DArrayDimension d = dimVector . elementAt ( i ) ; DArrayDimension dclone = ( DArrayDimension ) cloneDAG ( map , d ) ; dclone . setContainer ( a ) ; a . dimVector . addElement ( dclone ) ; } return a ; }
Returns a clone of this <code>Array</code>.
See DAPNode.cloneDag()

@param map track previously cloned nodes
@return a clone of this object.
Returns a clone of this <code > Array< / code > . See DAPNode . cloneDag ()