Class ScheduleRange


  • public final class ScheduleRange
    extends java.lang.Object
    Inclusive range for a schedule match value.
    • Constructor Summary

      Constructors 
      Constructor Description
      ScheduleRange​(int start)
      Create a inclusive range for a schedule match value.
      ScheduleRange​(int start, int end)
      Create a inclusive range for a schedule match value.
      ScheduleRange​(int start, int end, int step)
      Create a inclusive range for a schedule match value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int getEnd()
      Gets the inclusive end of the range.
      int getStart()
      Gets the inclusive start of the range.
      int getStep()
      Gets the step taken between each value.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScheduleRange

        public ScheduleRange​(int start)
        Create a inclusive range for a schedule match value.
        Parameters:
        start - The inclusive start of the range
      • ScheduleRange

        public ScheduleRange​(int start,
                             int end)
        Create a inclusive range for a schedule match value.
        Parameters:
        start - The inclusive start of the range
        end - The inclusive end of the range. Default if unset or less than start is start.
      • ScheduleRange

        public ScheduleRange​(int start,
                             int end,
                             int step)
        Create a inclusive range for a schedule match value.
        Parameters:
        start - The inclusive start of the range
        end - The inclusive end of the range. Default if unset or less than start is start.
        step - The step to take between each value. Default if unset or 0, is 1.
    • Method Detail

      • getStart

        public int getStart()
        Gets the inclusive start of the range.
        Returns:
        start of range
      • getEnd

        public int getEnd()
        Gets the inclusive end of the range.
        Returns:
        end of range
      • getStep

        public int getStep()
        Gets the step taken between each value.
        Returns:
        steps taken between values.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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