
4 Aug
2010
4 Aug
'10
9:13 a.m.
However, if you tried to do "s.equalsIgnoreCase(", does it offer to insert every single String available and every function that could result in a String?
well, try this: String s = "foo"; String t = "bar"; int u = 42; s.equalsIgnoreCase( it suggests s, t, and null (but not u), so this is again type-based. if you try completion on s.equalsIgnoreCase(t. then you see that those methods that return a String, are at the front of the completion list. J.W.