(Point o)
| 21 | public double norm() { return Math.sqrt(x * x + y * y); } |
| 22 | |
| 23 | @Override |
| 24 | public int compareTo(Point o) { return Double.compare(norm(), o.norm()); } |
| 25 | |
| 26 | record Inner(String name, List<String> tags) { |
| 27 | String first() { return tags.get(0); } |