Skip to content

Commit 080493f

Browse files
committed
Update README.md.
1 parent b727f24 commit 080493f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,8 @@ public static <E> List<E> immutableListOf(E... elements) { ... }
10351035
public static <K, V> Map<K, V> immutableMapOf(Map.Entry<K, V>... entries) { ... }
10361036
public static <E> Set<E> immutableSetOf(E... elements) { ... }
10371037

1038-
public static <K extends Comparable<K>, V> SortedMap<K, V> sortedMapOf(Map.Entry<K, V>... entries) { ... }
1039-
public static <E extends Comparable<E>> SortedSet<E> sortedSetOf(E... elements) { ... }
1038+
public static <K extends Comparable<? super K>, V> SortedMap<K, V> sortedMapOf(Map.Entry<K, V>... entries) { ... }
1039+
public static <E extends Comparable<? super E>> SortedSet<E> sortedSetOf(E... elements) { ... }
10401040
```
10411041

10421042
This method can be used to declare map entries:

0 commit comments

Comments
 (0)