Package io.quarkus.panache.common
Class Range
- java.lang.Object
-
- io.quarkus.panache.common.Range
-
public class Range extends Object
Utility class to represent ranging information. Range instances are immutable.
Usage:
Range range = Range.of(0, 5);
-
-
Constructor Summary
Constructors Constructor Description Range(int startIndex, int lastIndex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLastIndex()
int
getStartIndex()
static Range
of(int startIndex, int lastIndex)
-
-
-
Method Detail
-
of
public static Range of(int startIndex, int lastIndex)
-
getStartIndex
public int getStartIndex()
-
getLastIndex
public int getLastIndex()
-
-