What does the colon mean in Java? I have this:
public static List findAllAnagrams(List words) {
List result =
Don't think colon(:) means anything particularly. It's just how Java designers thought to delimit parameter and expression inside improved for loop.
for ( FormalParameter : Expression ) Statement
Check Language specification for same : http://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html#jls-14.14.2