A java implementation of data mining without using javax package