Update Anagram.java

Submission Result: Compile Error

Line 13: wrong number of type arguments; required 1