Statements (19)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:Design_Pattern
|
| gptkbp:allows |
multiple sort sequences
|
| gptkbp:canBe |
anonymous class
lambda expression method reference |
| gptkbp:introducedIn |
gptkb:Java_2_(JDK_1.2)
|
| gptkbp:method |
compare(Object o1, Object o2)
naturalOrder() nullsFirst() nullsLast() reversed() thenComparing() |
| gptkbp:purpose |
custom ordering of objects
|
| gptkbp:relatedTo |
Comparable interface
|
| gptkbp:type |
java.util
|
| gptkbp:usedIn |
gptkb:Java_programming_language
|
| gptkbp:bfsParent |
gptkb:C++_STL_sort
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
Comparator (optional)
|