Package com.evolveum.axiom.lang.antlr
Record Class RecognitionsSet
java.lang.Object
java.lang.Record
com.evolveum.axiom.lang.antlr.RecognitionsSet
public record RecognitionsSet(int startState, org.antlr.v4.runtime.misc.IntervalSet recognizedTokens)
extends Record
Created by Dominik.
- 
Constructor SummaryConstructorsConstructorDescriptionRecognitionsSet(int startState, org.antlr.v4.runtime.misc.IntervalSet recognizedTokens) Creates an instance of aRecognitionsSetrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.antlr.v4.runtime.misc.IntervalSetReturns the value of therecognizedTokensrecord component.intReturns the value of thestartStaterecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
RecognitionsSetpublic RecognitionsSet(int startState, org.antlr.v4.runtime.misc.IntervalSet recognizedTokens) Creates an instance of aRecognitionsSetrecord class.- Parameters:
- startState- the value for the- startStaterecord component
- recognizedTokens- the value for the- recognizedTokensrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
startStatepublic int startState()Returns the value of thestartStaterecord component.- Returns:
- the value of the startStaterecord component
 
- 
recognizedTokenspublic org.antlr.v4.runtime.misc.IntervalSet recognizedTokens()Returns the value of therecognizedTokensrecord component.- Returns:
- the value of the recognizedTokensrecord component
 
 
-