Interface ShortRange

All Superinterfaces:
Range<Short>

@Immutable public interface ShortRange extends Range<Short>
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NonNull Short
    max()
    Returns the maximum value (inclusive).
    short
    Returns the maximum value (inclusive).
    default @NonNull Short
    min()
    Returns the minimum value (inclusive).
    short
    Returns the minimum value (inclusive).
  • Method Details

    • minShort

      short minShort()
      Returns the minimum value (inclusive).
      Returns:
      minimum value
    • maxShort

      short maxShort()
      Returns the maximum value (inclusive).
      Returns:
      maximum value
    • min

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

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