Skip to content

Commit c45e25c

Browse files
Update README.md
1 parent c7d41f2 commit c45e25c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,10 @@ sequenceDiagram
12031203

12041204
<h1 align="center"> EnumSet </h1>
12051205
<ul>
1206+
<li> <h3> A specialized Set implementation for use with enum [Enumeration] types. </h3> </li>
1207+
<li> <h3> All of the elements in an enum set must come from a single enum type that is specified, explicitly or implicitly, when the set is created. </h3> </li>
1208+
<li> <h3> It extends AbstractSet class and implements Set Interface in Java. </h3> </li>
1209+
<li> <h3> EnumSet class is a member of the Java Collections Framework . </h3> </li>
12061210
<li> <h3> HashSet and TreeSet can also take the type of ENUM and add ENUM constants to perform Set operations. </h3> </li>
12071211
<ul>
12081212
<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo.java" >HashSet, Tree Set and EnumSet</a></h3></li>

0 commit comments

Comments
 (0)