opendap/src/main/java/opendap/dap/BooleanPrimitiveVector.java
public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        BooleanPrimitiveVector v = (BooleanPrimitiveVector) super.cloneDAG(map);
        if (vals != null) {
            v.vals = new boolean[vals.length];
            System.arraycopy(vals, 0, v.vals, 0, vals.length);
        }
        return v;
    }
public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        BooleanPrimitiveVector v = (BooleanPrimitiveVector) super.cloneDAG(map);
        if (vals != null) {
            v.vals = new boolean[vals.length];
            System.arraycopy(vals, 0, v.vals, 0, vals.length);
        }
        return v;
    }
public DAPNode cloneDAG ( CloneMap map ) throws CloneNotSupportedException { BooleanPrimitiveVector v = ( BooleanPrimitiveVector ) super . cloneDAG ( map ) ; if ( vals != null ) { v . vals = new boolean [ vals . length ] ; System . arraycopy ( vals , 0 , v . vals , 0 , vals . length ) ; } return v ; }
Returns a clone of this <code>BooleanPrimitiveVector</code>.
See DAPNode.cloneDag()

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