@@ -1264,12 +1264,81 @@ sequenceDiagram
12641264<li> <h3> Examples : </h3> </li>
12651265<ul>
12661266<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo1.java" >EnumSet→of</a></h3></li>
1267+
1268+
1269+ ` ` ` Syntax
1270+
1271+ Creates an enum set initially containing the specified elements.
1272+
1273+ ` ` `
1274+
1275+
1276+
12671277<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo2.java" >EnumSet→allOf</a></h3></li>
1278+
1279+
1280+
1281+ ` ` ` Syntax
1282+
1283+ Creates an enum set containing all of the elements in the specified element type.
1284+
1285+ ` ` `
1286+
1287+
1288+
12681289<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo3.java" >EnumSet→clone</a></h3></li>
1290+
1291+
1292+
1293+ ` ` ` Syntax
1294+
1295+ Returns copy of a set.
1296+
1297+ ` ` `
1298+
1299+
1300+
12691301<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo4.java" >EnumSet→complementOf</a></h3></li>
1302+
1303+
1304+
1305+ ` ` ` Syntax
1306+
1307+ Creates an enum set with the same element type as the specified enum set,
1308+ initially containing all the elements of this type,
1309+ that are not contained in the specified set.
1310+
1311+ ` ` `
1312+
1313+
1314+
12701315<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo5.java" >EnumSet→copyOf</a></h3></li>
1316+
1317+ ` ` ` Syntax
1318+
1319+ Creates an enum set with the same element type,
1320+ as the specified enum set,
1321+ initially containing the same elements (if any).
1322+
1323+ ` ` `
1324+
12711325<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo6.java" >EnumSet→range</a></h3></li>
1326+
1327+ ` ` ` Syntax
1328+
1329+ Creates an enum set initially containing all of the elements,
1330+ in the range defined by the two specified endpoints.
1331+
1332+ ` ` `
1333+
12721334<li><h3><a href= "https://github.com/AvinandanBose/JavaCollectionFramework/blob/main/EnumSetDemo7.java" >EnumSet→noneOf</a></h3></li>
1335+
1336+ ` ` ` Syntax
1337+
1338+ Creates an empty enum set with the specified element type.
1339+
1340+ ` ` `
1341+
12731342</ul>
12741343
12751344</ul>
0 commit comments