Skip to main content

Add Filter to java.util

1 reply [Last post]
roytmana
Offline
Joined: 2003-06-29
Points: 0

Please add a simple Filter interface to java.util and filtering method to Collection class

It is one of those simple universally usefull interfaces like Comarable which really should be in java.utils
As it is people just keep creating in in every project or framework

public interface Filter {
public boolean test(T testObject);
}

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
peterkessler
Offline
Joined: 2004-10-27
Points: 0

I think this post should be in the general "Mustang" forum,
http://forums.java.net/jive/forum.jspa?forumID=23 ,
where it will get the attention it deserves, rather than in this forum, which is about the Mustang source snapshots.