java.lang.Object
java.lang.Record
org.aya.core.serde.SerDef.SerOp
- All Implemented Interfaces:
Serializable
- Enclosing interface:
SerDef
public static record SerDef.SerOp(@NotNull SerDef.QName name, @NotNull org.aya.util.binop.Assoc assoc, @NotNull SerDef.SerBind bind)
extends Record
implements Serializable
Serialized version of
OpDecl.OpInfo- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerOp(@NotNull SerDef.QName name, @NotNull org.aya.util.binop.Assoc assoc, @NotNull SerDef.SerBind bind) Creates an instance of aSerOprecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull org.aya.util.binop.Assocassoc()Returns the value of theassocrecord component.@NotNull SerDef.SerBindbind()Returns the value of thebindrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull SerDef.QNamename()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SerOp
public SerOp(@NotNull @NotNull SerDef.QName name, @NotNull @NotNull org.aya.util.binop.Assoc assoc, @NotNull @NotNull SerDef.SerBind bind) Creates an instance of aSerOprecord class.- Parameters:
name- the value for thenamerecord componentassoc- the value for theassocrecord componentbind- the value for thebindrecord 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
public final int 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
assoc
@NotNull public @NotNull org.aya.util.binop.Assoc assoc()Returns the value of theassocrecord component.- Returns:
- the value of the
assocrecord component
-
bind
Returns the value of thebindrecord component.- Returns:
- the value of the
bindrecord component
-