/** * Sets the value of this Word to be a copy of another. * * @param w the Word to copy. */ public void copy(Word w) { text = w.toString(); start = w.getStart(); setEnd(); }
/** * Sets the value of this Word to be a copy of another. * * @param w the Word to copy. */ public void copy(Word w) { text = w.toString(); start = w.getStart(); setEnd(); }