Class IntegerParameter

All Implemented Interfaces:
Displayable, LimitableParameter, Parameter, SingleParameter, ProvidesScenarioSupportCommand
Direct Known Subclasses:
LandmarkParameter

public class IntegerParameter
extends AbstractLimitableParameter
implements ProvidesScenarioSupportCommand
Parameter that can contain Integer/int values.
Version:
2.6.5
Recent revisions:
2.6.5
  • Constructor Details

    • IntegerParameter

      public IntegerParameter​(Integer value, String name, String description)
      Constructs a new Integer parameter.
      Parameters:
      value - the new Integer value. May be null.
      name - the name of the parameter.
      description - the description of the parameter.
    • IntegerParameter

      public IntegerParameter​(Integer value, Integer min, Integer max, String name, String description)
      Constructs a new Integer parameter.
      Parameters:
      value - the new Integer value. May be null.
      min - the minimum value.
      max - the maximum value.
      name - the name of the parameter.
      description - the description of the parameter.
    • IntegerParameter

      public IntegerParameter​(Integer value, Integer min, Integer max, Integer distance, String name, String description)
      Constructs a new Integer parameter.
      Parameters:
      value - the new Integer value. May be null.
      min - the minimum value.
      max - the maximum value.
      distance - the distance between any two points in the [min, max] interval.
      name - the name of the parameter.
      description - the description of the parameter.
    • IntegerParameter

      public IntegerParameter​(Integer value, Integer distance, String name, String description)
      Constructs a new Integer parameter.
      Parameters:
      value - the new Integer value. May be null.
      distance - the distance between any two points in the open interval.
      name - the name of the parameter.
      description - the description of the parameter.
  • Method Details