Class LDStrategy.Range

java.lang.Object
common.serviceStrategies.LDStrategy.Range
All Implemented Interfaces:
Comparable<Object>
Enclosing class:
LDStrategy

protected class LDStrategy.Range extends Object implements Comparable<Object>
Inner class used to store definition of a Range
Author:
Bertoli Marco Date: 11-ott-2005 Time: 12.25.52
  • Field Details

    • from

      public int from
    • distribution

      public Distribution distribution
    • meanExpression

      public String meanExpression
  • Constructor Details

    • Range

      public Range(int from)
      Builds a new Range, starting interval from specified queue length. Distribution is set as Default service time distribution, if it allows mean, otherwise to the first distribution with mean available.
      Parameters:
      from - starting index for this range
  • Method Details

    • compareTo

      public int compareTo(Object o)
      Used to store this object in a SortedSet.
      Specified by:
      compareTo in interface Comparable<Object>
      Parameters:
      o - object to compare with
      Returns:
      a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.