()
| 4018 | private transient Comparator<? super K> comparator; |
| 4019 | |
| 4020 | @SuppressWarnings("unchecked") |
| 4021 | @Override |
| 4022 | public Comparator<? super K> comparator() { |
| 4023 | Comparator<? super K> result = comparator; |
| 4024 | if (result == null) { |
| 4025 | Comparator<? super K> forwardCmp = forward().comparator(); |
| 4026 | if (forwardCmp == null) { |
| 4027 | forwardCmp = (Comparator) Ordering.natural(); |
| 4028 | } |
| 4029 | result = comparator = reverse(forwardCmp); |
| 4030 | } |
| 4031 | return result; |
| 4032 | } |
| 4033 | |
| 4034 | // If we inline this, we get a javac error. |
| 4035 |
nothing calls this directly
no test coverage detected