Record Class LoadResult<T>
java.lang.Object
java.lang.Record
edu.ucsb.cs156.frontiers.models.LoadResult<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreated()Returns the value of thecreatedrecord component.dropped()Returns the value of thedroppedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.rejected()Returns the value of therejectedrecord component.final StringtoString()Returns a string representation of this record class.updated()Returns the value of theupdatedrecord component.
-
Constructor Details
-
LoadResult
Creates an instance of aLoadResultrecord class.- Parameters:
created- the value for thecreatedrecord componentupdated- the value for theupdatedrecord componentdropped- the value for thedroppedrecord componentrejected- the value for therejectedrecord 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). -
created
Returns the value of thecreatedrecord component.- Returns:
- the value of the
createdrecord component
-
updated
Returns the value of theupdatedrecord component.- Returns:
- the value of the
updatedrecord component
-
dropped
Returns the value of thedroppedrecord component.- Returns:
- the value of the
droppedrecord component
-
rejected
-