类 Range


  • public class Range
    extends java.lang.Object
    A class to represent ranges. A Range can have minimum/maximum values from interval <1,Integer.MAX_VALUE-1> A Range can be unbounded at maximum side. This can be specified by passing UPPER_BORDER_NOT_DEFINED} as max value or using constructor Range(int).
    作者:
    peter.zozom
    • 构造器概要

      构造器 
      构造器说明
      Range​(int min) 
      Range​(int min, int max) 
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      intgetMax() 
      intgetMin() 
      booleanhasMaxValue() 
      java.lang.StringtoString() 
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • Range

        public Range​(int min)
      • Range

        public Range​(int min,
                     int max)
    • 方法详细资料

      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object