Java中的冒号是什么意思?我有这个:
public static List<String> findAllAnagrams(List<String> words) {
List<String> result = new LinkedList<String>();
for(String i : words){
for (String j : words){
if (result.contains(i)) {
break;
}
else if (i == j) {
} else {
if (areAnagrams(i,j)){
result.add(i);
System.out.println(result);
}
}
}
}
return result;
}