I wonder what is the most useful class in the Google collections framework?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In my experience,
IterablesandLists.I use
Lists.newArrayListfrequently (usually as a static import) andIterablesis the closest that Java gets to LINQ…Oh, and not particularly collection-y, but
Preconditions.checkNotNullis very handy too, again with a static import:Then there’s all the immutability stuff, multi-maps,
MapMakeretc… It’s just a great library. KevinB et al rock 🙂