Record Class TextVariantTable.Variant
java.lang.Object
java.lang.Record
org.ek9lang.compiler.ir.data.TextVariantTable.Variant
- Record Components:
language- the language it answers to, as declared ("en","de_DE")variantFqn- the fully qualified name of the locale's concrete text type
- Enclosing class:
TextVariantTable
-
Constructor Summary
Constructors -
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.language()Returns the value of thelanguagerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevariantFqnrecord component.
-
Constructor Details
-
Variant
Creates an instance of aVariantrecord class.- Parameters:
language- the value for thelanguagerecord componentvariantFqn- the value for thevariantFqnrecord 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). -
language
-
variantFqn
Returns the value of thevariantFqnrecord component.- Returns:
- the value of the
variantFqnrecord component
-