Class IntRange

java.lang.Object
org.instancio.internal.util.IntRange

public final class IntRange extends Object
  • Method Details

    • range

      public static IntRange range(int min, int max)
      Range with the specified lower and upper bound.
      Parameters:
      min - lower bound
      max - upper bound
      Returns:
      range with given bounds
    • min

      public int min()
    • max

      public int max()
    • toString

      public String toString()
      Overrides:
      toString in class Object