Record Class DecisionFigureTornado.Tornado
java.lang.Object
java.lang.Record
network.ike.docs.koncept.DecisionFigureTornado.Tornado
- Record Components:
title- what the axis measures, printed above itnet- whether the axis is net value, so that zero is break-even and is drawnchosen- how the alternative the base chose is named, for the legend;nullwhen the base did not decidebase- where the axis stands with every measure at its baseleast- the least the axis reaches over every bar, the base includedgreatest- the greatest the axis reaches over every bar, the base includedbars- the bars, longest first, each with some lengthnotes- sentences for the footnote after the standard ones: what does not move the answer, what was not swept
- Enclosing class:
DecisionFigureTornado
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbars()Returns the value of thebarsrecord component.doublebase()Returns the value of thebaserecord component.chosen()Returns the value of thechosenrecord 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.doubleleast()Returns the value of theleastrecord component.booleannet()Returns the value of thenetrecord component.notes()Returns the value of thenotesrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Tornado
public Tornado(String title, boolean net, String chosen, double base, double least, double greatest, List<DecisionFigureTornado.Bar> bars, List<String> notes) Creates an instance of aTornadorecord class.- Parameters:
title- the value for thetitlerecord componentnet- the value for thenetrecord componentchosen- the value for thechosenrecord componentbase- the value for thebaserecord componentleast- the value for theleastrecord componentgreatest- the value for thegreatestrecord componentbars- the value for thebarsrecord componentnotes- the value for thenotesrecord 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. -
title
-
net
-
chosen
-
base
-
least
-
greatest
-
bars
-
notes
-