File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Programmer Certification (SCJP/OCPJP)
can either TreeSet OR HashSet contain null values ?
Joined: Nov 02, 2000
Dec 27, 2000 02:54:00
Joined: Nov 30, 2000
Dec 27, 2000 08:06:00
Yes. You can add(null) on both
Check your self from JDK and try writing some code before posting this kind of questions. But it's good to let the public know.
I agree. Here's the link:
- it saves me about five hours per week
subject: can either TreeSet OR HashSet contain null values ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013