Record Class SectionedBuffers.BufferSnapshot
java.lang.Object
java.lang.Record
org.ek9lang.cli.SectionedBuffers.BufferSnapshot
- Enclosing class:
SectionedBuffers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassLinesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionLinesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theprogramLinesrecord component.Returns the value of therecordLinesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetraitLinesrecord component.Returns the value of thetypeLinesrecord component.
-
Constructor Details
-
BufferSnapshot
public BufferSnapshot(List<String> typeLines, List<String> functionLines, List<String> recordLines, List<String> traitLines, List<String> classLines, List<String> programLines) Creates an instance of aBufferSnapshotrecord class.- Parameters:
typeLines- the value for thetypeLinesrecord componentfunctionLines- the value for thefunctionLinesrecord componentrecordLines- the value for therecordLinesrecord componenttraitLines- the value for thetraitLinesrecord componentclassLines- the value for theclassLinesrecord componentprogramLines- the value for theprogramLinesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
typeLines
-
functionLines
-
recordLines
-
traitLines
-
classLines
-
programLines
-