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 Details

    • Range

      public Range(int startIndex, int lastIndex)
  • Method Details

    • of

      public static Range of(int startIndex, int lastIndex)
    • getStartIndex

      public int getStartIndex()
    • getLastIndex

      public int getLastIndex()