Record Class CBTypeAssignment
java.lang.Object
java.lang.Record
com.io7m.cedarbridge.schema.typer.api.CBTypeAssignment
- Record Components:
arity- The arity of the type (the number of type parameters)
An assignment of a type to an object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintarity()Returns the value of thearityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CBTypeAssignment
public CBTypeAssignment(int arity) An assignment of a type to an object.- Parameters:
arity- The arity of the type (the number of type parameters)
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
arity
-