You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1203,6 +1203,10 @@ sequenceDiagram
1203
1203
1204
1204
<h1 align="center"> EnumSet </h1>
1205
1205
<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>
1206
1210
<li> <h3> HashSet and TreeSet can also take the type of ENUM and add ENUM constants to perform Set operations. </h3> </li>
1207
1211
<ul>
1208
1212
<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo.java" >HashSet, Tree Set and EnumSet</a></h3></li>
0 commit comments