Saturday 3 May 2014

EnumSet

EnumSet is used to store enum constants. EnumSets are represented internally by using bit vectors, So it takes less space and more efficient.

Null elements are not permitted in EnumSet.

EnumSet is not synchronized.

EnumSet extends the AbstractSet class so it support all the methods in the Set interface.

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment