mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
testdata for IDEA-176407
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
|
||||
public final class Main {
|
||||
public static void main(final String[] args) {
|
||||
new ArrayList<Node>().sort(Comparator.comparingInt((N<caret>ode node) -> node.value).reversed());
|
||||
}
|
||||
|
||||
static class Node {
|
||||
private final int value;
|
||||
|
||||
Node(final int value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user