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
+99Lines changed: 99 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -896,5 +896,104 @@ sequenceDiagram
896
896
</ul>
897
897
</ul>
898
898
<h1 align="center"> About Sorted Set Interface </h1>
899
+
<ul>
900
+
<h3>The Sorted Set interface Set extends Set and declares the behavior of a set sorted in ascending order. Sorted Set is a generic interface that has this declaration:
901
+
902
+
<h3 align="center">
903
+
904
+
```Syntax
905
+
906
+
interface SortedSet<E>
907
+
908
+
```
909
+
910
+
</h3>
911
+
912
+
<h3> Here E specifies the type of objects that the Set will hold. </h3>
913
+
914
+
<table>
915
+
<tr>
916
+
<th colspan="4">Interface</th>
917
+
<th >Methods</th>
918
+
919
+
</tr>
920
+
<tr>
921
+
<tdcolspan="4"rowspan="5" >SortedSet</td>
922
+
<td >first</td>
923
+
924
+
</tr>
925
+
<tr>
926
+
<td >last</td>
927
+
</tr>
928
+
<tr>
929
+
<td >headSet</td>
930
+
</tr>
931
+
<tr>
932
+
<td >tailSet</td>
933
+
</tr>
934
+
<tr>
935
+
<td >subSet</td>
936
+
</tr>
937
+
</table>
938
+
</ul>
899
939
900
940
<h1align="center"> About Navigable Set Interface </h1>
941
+
942
+
<ul>
943
+
<h3>The NavigableSet interface extends SortedSet and declares the behavior of a collection that supports the retrieval of elements based on the closest match to a given value or values. NavigableSet is a generic interface that has this declaration : </h3>
944
+
945
+
<h3align="center">
946
+
947
+
```Syntax
948
+
949
+
interface NavigableSet<E>
950
+
951
+
```
952
+
953
+
</h3>
954
+
955
+
<h3> Here E specifies the type of objects that the Set will hold. </h3>
0 commit comments