Class Range


  • public class Range
    extends Object
    A numeric range, only the minimum and maximum values are provided.
    • Method Detail

      • ordered

        public static Range ordered​(int a,
                                    int b)
      • of

        public static Range of​(int min,
                               int max)
      • minimum

        public int minimum()
      • maximum

        public int maximum()
      • within

        public boolean within​(int value)
      • random

        public int random()
      • fill

        public int[] fill()