Lines Matching defs:clone
88 public Object clone() throws CloneNotSupportedException
92 AxesWalker clone = (AxesWalker) super.clone();
94 //clone.setCurrentNode(clone.m_root);
96 // clone.m_isFresh = true;
98 return clone;
102 * Do a deep clone of this walker, including next and previous walkers.
103 * If the this AxesWalker is on the clone list, don't clone but
107 * iterator to which this clone will be added.
111 * @return non-null clone, which may be a new clone, or may be a clone
117 AxesWalker clone = findClone(this, cloneList);
118 if(null != clone)
119 return clone;
120 clone = (AxesWalker)this.clone();
121 clone.setLocPathIterator(cloneOwner);
125 cloneList.addElement(clone);
129 cloneOwner.m_lastUsedWalker = clone;
132 clone.m_nextWalker = m_nextWalker.cloneDeep(cloneOwner, cloneList);
139 clone.m_prevWalker = m_prevWalker.cloneDeep(cloneOwner, cloneList);
144 clone.m_nextWalker.m_prevWalker = clone;
146 return clone;
150 * Find a clone that corresponds to the key argument.
152 * @param key The original AxesWalker for which there may be a clone.
156 * @return A clone that corresponds to the key, or null if key not found.
162 // First, look for clone on list.
422 walker = (AxesWalker) clone();