/** * Get a shallow copy of this rule * * @return the copy */ public Object copy() { RipperRule copy = new RipperRule(); copy.setConsequent(getConsequent()); copy.m_Antds = (FastVector) this.m_Antds.copyElements(); copy.aprioriDistribution = this.aprioriDistribution.clone(); return copy; }