Trendminer java part