Returns a range that plain Range#contains(Comparable) contains only the given value. The returned range is plain BoundType#CLOSED closed on both ends. @since 14.0
(C value)
| 327 | |
| 328 | |
| 329 | public static <C extends Comparable<?>> Range<C> singleton(C value) { |
| 330 | return closed(value, value); |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * Returns the minimal range that |