Interface IntRange

All Superinterfaces:
Range<Integer>

@Immutable public interface IntRange extends Range<Integer>
  • Method Summary

    Modifier and Type
    Method
    Description
    max()
    Returns the maximum value (inclusive).
    int
    Returns the maximum value (inclusive).
    min()
    Returns the minimum value (inclusive).
    int
    Returns the minimum value (inclusive).
  • Method Details

    • minInt

      int minInt()
      Returns the minimum value (inclusive).
      Returns:
      minimum value
    • maxInt

      int maxInt()
      Returns the maximum value (inclusive).
      Returns:
      maximum value
    • min

      default @NonNull Integer min()
      Description copied from interface: Range
      Returns the minimum value (inclusive).
      Specified by:
      min in interface Range<Integer>
      Returns:
      minimum value
    • max

      default @NonNull Integer max()
      Description copied from interface: Range
      Returns the maximum value (inclusive).
      Specified by:
      max in interface Range<Integer>
      Returns:
      maximum value