Re: generic oversight?



ricky.clarkson@xxxxxxxxx wrote:

For this (and other) reasons I implemented my own collection wrappers, which wrap Collection, List, etc., but have more sane API, including contains(T). This isn't currently public, because I'm lazy, but it could be.

The collections are fundamentally part of the Java language. If I see code using collections, then I expect it to be all standard stuff. No need to look anything up. There is a high price to pay for going non-standard.


Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
.