Record Class DecisionFigureTornado.Bar

java.lang.Object
java.lang.Record
network.ike.docs.koncept.DecisionFigureTornado.Bar
Record Components:
name - how the measure is named
lowCaption - the measure's lower end, printed with its unit
highCaption - the measure's upper end, printed with its unit
stated - whether the block stated the range, which draws the bar solid
atLow - where the axis stands with the measure at its lower end
atHigh - where the axis stands with the measure at its upper end
least - the least the axis reaches anywhere in the range
greatest - the greatest the axis reaches anywhere in the range
segments - the stretches between the root's flips, in rising order of the measure
ticks - every flip, at any decision
Enclosing class:
DecisionFigureTornado

public static record DecisionFigureTornado.Bar(String name, String lowCaption, String highCaption, boolean stated, double atLow, double atHigh, double least, double greatest, List<DecisionFigureTornado.Segment> segments, List<DecisionFigureTornado.Tick> ticks) extends Record
One measure's bar.
  • Constructor Details

    • Bar

      public Bar(String name, String lowCaption, String highCaption, boolean stated, double atLow, double atHigh, double least, double greatest, List<DecisionFigureTornado.Segment> segments, List<DecisionFigureTornado.Tick> ticks)
      Creates an instance of a Bar record class.
      Parameters:
      name - the value for the name record component
      lowCaption - the value for the lowCaption record component
      highCaption - the value for the highCaption record component
      stated - the value for the stated record component
      atLow - the value for the atLow record component
      atHigh - the value for the atHigh record component
      least - the value for the least record component
      greatest - the value for the greatest record component
      segments - the value for the segments record component
      ticks - the value for the ticks record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • lowCaption

      public String lowCaption()
      Returns the value of the lowCaption record component.
      Returns:
      the value of the lowCaption record component
    • highCaption

      public String highCaption()
      Returns the value of the highCaption record component.
      Returns:
      the value of the highCaption record component
    • stated

      public boolean stated()
      Returns the value of the stated record component.
      Returns:
      the value of the stated record component
    • atLow

      public double atLow()
      Returns the value of the atLow record component.
      Returns:
      the value of the atLow record component
    • atHigh

      public double atHigh()
      Returns the value of the atHigh record component.
      Returns:
      the value of the atHigh record component
    • least

      public double least()
      Returns the value of the least record component.
      Returns:
      the value of the least record component
    • greatest

      public double greatest()
      Returns the value of the greatest record component.
      Returns:
      the value of the greatest record component
    • segments

      public List<DecisionFigureTornado.Segment> segments()
      Returns the value of the segments record component.
      Returns:
      the value of the segments record component
    • ticks

      Returns the value of the ticks record component.
      Returns:
      the value of the ticks record component