Record Class RouteResult
java.lang.Object
java.lang.Record
megalodonte.base.route.RouteResult
- Record Components:
view- the screen component to renderprops- the route's display properties
Result of resolving a route. Pairs a
ComponentInterface view with
its RouteProps metadata.-
Constructor Summary
ConstructorsConstructorDescriptionRouteResult(ComponentInterface<?> view, RouteProps props) Creates an instance of aRouteResultrecord 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.props()Returns the value of thepropsrecord component.final StringtoString()Returns a string representation of this record class.view()Returns the value of theviewrecord component.
-
Constructor Details
-
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). -
view
-
props
-