java.lang.Object
java.lang.Record
org.aya.core.serde.SerDef.SerOpDecl
- All Implemented Interfaces:
org.aya.util.binop.OpDecl
- Enclosing interface:
SerDef
public static record SerDef.SerOpDecl(@NotNull org.aya.util.binop.OpDecl.OpInfo opInfo)
extends Record
implements org.aya.util.binop.OpDecl
To use serialized operators in
AyaBinOpSet-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.util.binop.OpDecl
org.aya.util.binop.OpDecl.BindPred, org.aya.util.binop.OpDecl.OpInfo -
Field Summary
Fields inherited from interface org.aya.util.binop.OpDecl
APPLICATION -
Constructor Summary
ConstructorsConstructorDescriptionSerOpDecl(@NotNull org.aya.util.binop.OpDecl.OpInfo opInfo) Creates an instance of aSerOpDeclrecord 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.@NotNull org.aya.util.binop.OpDecl.OpInfoopInfo()Returns the value of theopInforecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SerOpDecl
public SerOpDecl(@NotNull @NotNull org.aya.util.binop.OpDecl.OpInfo opInfo) Creates an instance of aSerOpDeclrecord class.- Parameters:
opInfo- the value for theopInforecord 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). -
opInfo
@NotNull public @NotNull org.aya.util.binop.OpDecl.OpInfo opInfo()Returns the value of theopInforecord component.- Specified by:
opInfoin interfaceorg.aya.util.binop.OpDecl- Returns:
- the value of the
opInforecord component
-