Skip to content

Commit

Permalink
javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Nov 16, 2023
1 parent 51e4071 commit 6a439f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vpro-shared-util/src/main/java/nl/vpro/util/Ranges.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ private Ranges() {
* Creates on {@link Range#openClosed(Comparable, Comparable)} range, but the arguments can be {@code null}
* in which case unbounded ranges are created
* @since 2.29.1
* @see Range#closedOpen(Comparable, Comparable)
* @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
*/
public static <C extends Comparable<?>> Range<C> closedOpen(@Nullable C start, @Nullable C stop) {
if(start == null) {
Expand All @@ -39,6 +41,8 @@ public static <C extends Comparable<?>> Range<C> closedOpen(@Nullable C start, @
* Creates on {@link Range#closed(Comparable, Comparable)} range, but the arguments can be {@code null}
* in which case unbounded ranges are created
* @since 2.29.3
* @see Range#closed(Comparable, Comparable)
* @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
*/
public static <C extends Comparable<?>> Range<C> closedClosed(@Nullable C start, @Nullable C stop) {
if(start == null) {
Expand Down

0 comments on commit 6a439f8

Please sign in to comment.