>>343
作りかけのソースはcontainsやindexOfも使いたくない感じみたいなのでこれでどうよ
種類を数えるforループの中だけ

ArrayList syurui = new ArrayList();
for (int i = 0; i < arrayList.size(); i++) {
Object s = arrayList.get(i);
boolean notFound = true;
for (int j = 0; j < syurui.size(); j++) {
if (syurui.get(j).equals(s)) {
notFound = false;
break;
}
}
if (notFound) syurui.add(s);
}