today / the postwoman / tomorrow the world
Processor onlyString = new Processor() { public Object process(Object obj, Collection alwaysNull) { if (obj instanceof String) { return obj; } else { return null; } } }; Enumeration strings = Enumerations.filter (elems, onlyString);
Post a Comment
No comments:
Post a Comment