public JarEntryResource clone(Object newParent) { JarEntryDirectory dir = new JarEntryDirectory(this.simpleName); dir.setParent(newParent); int length = this.children.length; if (length > 0) { IJarEntryResource[] newChildren = new IJarEntryResource[length]; for (int i = 0; i < length; i++) { JarEntryResource child = (JarEntryResource) this.children[i]; newChildren[i] = child.clone(dir); } dir.setChildren(newChildren); } return dir; }
@Override public JarEntryResource clone(Object newParent) { JarEntryDirectory dir = new JarEntryDirectory(this.simpleName); dir.setParent(newParent); int length = this.children.length; if (length > 0) { IJarEntryResource[] newChildren = new IJarEntryResource[length]; for (int i = 0; i < length; i++) { JarEntryResource child = (JarEntryResource) this.children[i]; newChildren[i] = child.clone(dir); } dir.setChildren(newChildren); } return dir; }
public JarEntryResource clone(Object newParent) { JarEntryDirectory dir = new JarEntryDirectory(this.simpleName); dir.setParent(newParent); int length = this.children.length; if (length > 0) { IJarEntryResource[] newChildren = new IJarEntryResource[length]; for (int i = 0; i < length; i++) { JarEntryResource child = (JarEntryResource) this.children[i]; newChildren[i] = child.clone(dir); } dir.setChildren(newChildren); } return dir; }
public JarEntryResource clone(Object newParent) { JarEntryDirectory dir = new JarEntryDirectory(this.simpleName); dir.setParent(newParent); int length = this.children.length; if (length > 0) { IJarEntryResource[] newChildren = new IJarEntryResource[length]; for (int i = 0; i < length; i++) { JarEntryResource child = (JarEntryResource) this.children[i]; newChildren[i] = child.clone(dir); } dir.setChildren(newChildren); } return dir; }
public JarEntryResource clone(Object newParent) { JarEntryDirectory dir = new JarEntryDirectory(this.simpleName); dir.setParent(newParent); int length = this.children.length; if (length > 0) { IJarEntryResource[] newChildren = new IJarEntryResource[length]; for (int i = 0; i < length; i++) { JarEntryResource child = (JarEntryResource) this.children[i]; newChildren[i] = child.clone(dir); } dir.setChildren(newChildren); } return dir; }
public JarEntryResource clone(Object newParent) { JarEntryDirectory dir = new JarEntryDirectory(this.simpleName); dir.setParent(newParent); int length = this.children.length; if (length > 0) { IJarEntryResource[] newChildren = new IJarEntryResource[length]; for (int i = 0; i < length; i++) { JarEntryResource child = (JarEntryResource) this.children[i]; newChildren[i] = child.clone(dir); } dir.setChildren(newChildren); } return dir; }
jarEntryDirectory.setParent(this);
jarEntryDirectory.setParent(this);
jarEntryDirectory.setParent(this);
jarEntryDirectory.setParent(this);
jarEntryDirectory.setParent(this);
jarEntryDirectory.setParent(this);