Package edu.pdx.cs.joy.grader.canvas
Record Class CompareCanvasAndWebsiteSchedules.ComparisonReport
java.lang.Object
java.lang.Record
edu.pdx.cs.joy.grader.canvas.CompareCanvasAndWebsiteSchedules.ComparisonReport
- Enclosing class:
CompareCanvasAndWebsiteSchedules
static record CompareCanvasAndWebsiteSchedules.ComparisonReport(List<CompareCanvasAndWebsiteSchedules.ComparisonRow> differingDueDates, List<CompareCanvasAndWebsiteSchedules.ComparisonRow> undeterminedDueDates, List<CompareCanvasAndWebsiteSchedules.ComparisonRow> matchingDueDates)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionComparisonReport(List<CompareCanvasAndWebsiteSchedules.ComparisonRow> differingDueDates, List<CompareCanvasAndWebsiteSchedules.ComparisonRow> undeterminedDueDates, List<CompareCanvasAndWebsiteSchedules.ComparisonRow> matchingDueDates) Creates an instance of aComparisonReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedifferingDueDatesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thematchingDueDatesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theundeterminedDueDatesrecord component.
-
Constructor Details
-
ComparisonReport
ComparisonReport(List<CompareCanvasAndWebsiteSchedules.ComparisonRow> differingDueDates, List<CompareCanvasAndWebsiteSchedules.ComparisonRow> undeterminedDueDates, List<CompareCanvasAndWebsiteSchedules.ComparisonRow> matchingDueDates) Creates an instance of aComparisonReportrecord class.- Parameters:
differingDueDates- the value for thedifferingDueDatesrecord componentundeterminedDueDates- the value for theundeterminedDueDatesrecord componentmatchingDueDates- the value for thematchingDueDatesrecord component
-
-
Method Details
-
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. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
differingDueDates
Returns the value of thedifferingDueDatesrecord component.- Returns:
- the value of the
differingDueDatesrecord component
-
undeterminedDueDates
Returns the value of theundeterminedDueDatesrecord component.- Returns:
- the value of the
undeterminedDueDatesrecord component
-
matchingDueDates
Returns the value of thematchingDueDatesrecord component.- Returns:
- the value of the
matchingDueDatesrecord component
-