Record Class ContributionLedger.ReadResult
java.lang.Object
java.lang.Record
com.ultikits.ultitools.bootstrap.ContributionLedger.ReadResult
- Enclosing class:
ContributionLedger
private static record ContributionLedger.ReadResult(Map<String, ContributionLedger.Row> rows, boolean unreadable)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, ContributionLedger.Row> The field for therowsrecord component.private final booleanThe field for theunreadablerecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateReadResult(Map<String, ContributionLedger.Row> rows, boolean unreadable) Creates an instance of aReadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.rows()Returns the value of therowsrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theunreadablerecord component.
-
Field Details
-
rows
The field for therowsrecord component. -
unreadable
private final boolean unreadableThe field for theunreadablerecord component.
-
-
Constructor Details
-
ReadResult
Creates an instance of aReadResultrecord class.- Parameters:
rows- the value for therowsrecord componentunreadable- the value for theunreadablerecord 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. -
rows
Returns the value of therowsrecord component.- Returns:
- the value of the
rowsrecord component
-
unreadable
public boolean unreadable()Returns the value of theunreadablerecord component.- Returns:
- the value of the
unreadablerecord component
-