Hello, > > What do you think of > > Set predicate(Set set, Predicate predicate) > > ? Is that too nondescript? > > Actually, there is another factor involved. The java.utils.Collections class > uses the long form, eg. > Collections.unmodifiableMap(Map); > > Thus I would prefer the long form. We could agree to differ from Sun > however, in which case I would submit a patch to the Predicate code.
IMHO Sun has just one argument for leaving the "Map"-like suffix. It gives a possiblity of all the following to coexist: List unmodifiableList(List l) Set unmodifiableSet(Set s) Set unmodifiableSet(List l) However, I do not see this as a strong argument. But mimicring the Sun's conventions should be a good idea. Michal -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
