Class Range


  • public class Range
    extends java.lang.Object
    • Field Detail

      • start

        public int start
      • end

        public int end
    • Constructor Detail

      • Range

        public Range​(int s,
                     int e)
      • Range

        public Range()
      • Range

        public Range​(double[] vals)
    • Method Detail

      • set

        public void set​(double[] vals)
      • size

        public int size()
      • empty

        public boolean empty()
      • all

        public static Range all()
      • intersection

        public Range intersection​(Range r1)
      • shift

        public Range shift​(int delta)
      • clone

        public Range clone()
        Overrides:
        clone in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object