for an extension of the Apriori algorithm in weka i
create a subclass of AprioriItemSet class (wich is a subclass of ItemSet class) and i want
to reimplement the methods containedBy(Instance instance) and hashCode() (specialy the
last one), but they are defined as final in ItemSet. Why is the reason(s) because it's
not recommended to extend this methods?
The original reason may have been speed. I've removed the "final"
declarations in the developer branch of the ItemSet class.
You can checkout the code from CVS:
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
+64 (7) 838-4466 Ext. 5174