Skip to content

Commit d7eaabe

Browse files
Update README.md
1 parent 7c38f29 commit d7eaabe

1 file changed

Lines changed: 99 additions & 0 deletions

File tree

README.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,5 +896,104 @@ sequenceDiagram
896896
</ul>
897897
</ul>
898898
<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+
<td colspan="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>
899939

900940
<h1 align="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+
<h3 align="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>
956+
957+
<table>
958+
<tr>
959+
<th colspan="4">Interface</th>
960+
<th >Methods</th>
961+
962+
</tr>
963+
<tr>
964+
<td colspan="4" rowspan="11" >NavigableSet</td>
965+
<td >ceiling</td>
966+
967+
</tr>
968+
<tr>
969+
<td >floor</td>
970+
</tr>
971+
<tr>
972+
<td >descendingIterator</td>
973+
</tr>
974+
<tr>
975+
<td >descendingSet</td>
976+
</tr>
977+
<tr>
978+
<td >headSet</td>
979+
</tr>
980+
<tr>
981+
<td >tailSet</td>
982+
</tr>
983+
<tr>
984+
<td >subSet</td>
985+
</tr>
986+
<tr>
987+
<td >higher</td>
988+
</tr>
989+
<tr>
990+
<td >lower</td>
991+
</tr>
992+
<tr>
993+
<td >pollFirst</td>
994+
</tr>
995+
<tr>
996+
<td >pollLast</td>
997+
</tr>
998+
</table>
999+
</ul>

0 commit comments

Comments
 (0)