Record Class CAStringConstantApplied
java.lang.Object
java.lang.Record
com.io7m.cardant.strings.CAStringConstantApplied
- Record Components:
constant- The constantargs- The arguments
- All Implemented Interfaces:
CAStringConstantType,com.io7m.jxtrand.api.JXTStringConstantType
public record CAStringConstantApplied(CAStringConstantType constant, Object[] args)
extends Record
implements CAStringConstantType
A string constant with format arguments included.
-
Constructor Summary
ConstructorsConstructorDescriptionCAStringConstantApplied(CAStringConstantType constant, Object... args) A string constant with format arguments included. -
Method Summary
Modifier and TypeMethodDescriptionObject[]args()Returns the value of theargsrecord component.constant()Returns the value of theconstantrecord 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
-
CAStringConstantApplied
A string constant with format arguments included.- Parameters:
constant- The constantargs- The arguments
-
-
Method Details
-
propertyName
- Specified by:
propertyNamein interfacecom.io7m.jxtrand.api.JXTStringConstantType
-
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). -
constant
-
args
-