It wouldn't let me post a title with <> in it.
So now based on advise, I'm reading the Sun docs on collections. (I haven't used
Java for a few versions). There is a code snipet using an Iterator to parse a Collection. This is the code:
static void filter(Collection<?> c) {
for (Iterator<?> it = c.iterator(); it.hasNext(); )
if (!cond(it.next()))
it.remove();
}
What is <?> ? I don't remember ever using <>. Is that a way of type casting? If so, what does ? stand for?