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)
| 310 | * @since 14.0 |
| 311 | */ |
| 312 | public static <C extends Comparable<?>> Range<C> singleton(C value) { |
| 313 | return closed(value, value); |
| 314 | } |
| 315 | |
| 316 | /** |
| 317 | * Returns the minimal range that |