Record Class DecisionFigureTornado.Bar
java.lang.Object
java.lang.Record
network.ike.docs.koncept.DecisionFigureTornado.Bar
- Record Components:
name- how the measure is namedlowCaption- the measure's lower end, printed with its unithighCaption- the measure's upper end, printed with its unitstated- whether the block stated the range, which draws the bar solidatLow- where the axis stands with the measure at its lower endatHigh- where the axis stands with the measure at its upper endleast- the least the axis reaches anywhere in the rangegreatest- the greatest the axis reaches anywhere in the rangesegments- the stretches between the root's flips, in rising order of the measureticks- 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 Summary
ConstructorsConstructorDescriptionBar(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 aBarrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleatHigh()Returns the value of theatHighrecord component.doubleatLow()Returns the value of theatLowrecord component.final booleanIndicates whether some other object is "equal to" this one.doublegreatest()Returns the value of thegreatestrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehighCaptionrecord component.doubleleast()Returns the value of theleastrecord component.Returns the value of thelowCaptionrecord component.name()Returns the value of thenamerecord component.segments()Returns the value of thesegmentsrecord component.booleanstated()Returns the value of thestatedrecord component.ticks()Returns the value of theticksrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aBarrecord class.- Parameters:
name- the value for thenamerecord componentlowCaption- the value for thelowCaptionrecord componenthighCaption- the value for thehighCaptionrecord componentstated- the value for thestatedrecord componentatLow- the value for theatLowrecord componentatHigh- the value for theatHighrecord componentleast- the value for theleastrecord componentgreatest- the value for thegreatestrecord componentsegments- the value for thesegmentsrecord componentticks- the value for theticksrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
-
lowCaption
Returns the value of thelowCaptionrecord component.- Returns:
- the value of the
lowCaptionrecord component
-
highCaption
Returns the value of thehighCaptionrecord component.- Returns:
- the value of the
highCaptionrecord component
-
stated
-
atLow
-
atHigh
-
least
-
greatest
-
segments
-
ticks
-