Class Components.Range<R extends Number>

java.lang.Object
org.mitre.synthea.engine.Components.Range<R>
Type Parameters:
R - Type of range
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Components.RangeWithUnit
Enclosing class:
Components

public static class Components.Range<R extends Number> extends Object implements Serializable
A Range of values, with a low and a high. Values must be numeric (e.g., Integer, Long, Double).
See Also:
  • Field Details

    • low

      public R extends Number low
      Minimum value of the range.
    • high

      public R extends Number high
      Maximum value of the range.
    • decimals

      public Integer decimals
      Decimal places for value within the range.
  • Constructor Details

    • Range

      public Range()