Package net.minecraft.util.packrat
Record Class Term.SequenceTerm<S>
java.lang.Object
java.lang.Record
net.minecraft.util.packrat.Term.SequenceTerm<S>
- Record Components:
- elements-
- All Implemented Interfaces:
- Term<S>
- Mappings:
- Namespace - Name - named - net/minecraft/util/packrat/Term$SequenceTerm- intermediary - net/minecraft/class_9402$class_9407- official - bqo$g- named - elements- intermediary - comp_2483- official - a
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.util.packrat.TermTerm.AlwaysTerm<S,T>, Term.AnyOfTerm<S>, Term.LookaheadTerm<S>, Term.OptionalTerm<S>, Term.RepeatedTerm<S, T>, Term.RepeatWithSeparatorTerm<S, T>, Term.SequenceTerm<S> 
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionelements()Returns the value of theelementsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmatches(ParsingState<S> state, ParseResults results, Cut cut) final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
elementsThe field for theelementsrecord component.
 
- 
- 
Constructor Details- 
SequenceTerm
 
- 
- 
Method Details- 
matches- Specified by:
- matchesin interface- Term<S>
- Mappings:
- Namespace - Name - Mixin selector - named - matches- Lnet/minecraft/util/packrat/Term;matches(Lnet/minecraft/util/packrat/ParsingState;Lnet/minecraft/util/packrat/ParseResults;Lnet/minecraft/util/packrat/Cut;)Z- intermediary - method_58334- Lnet/minecraft/class_9402;method_58334(Lnet/minecraft/class_9393;Lnet/minecraft/class_9400;Lnet/minecraft/class_9388;)Z- official - a- Lbqo;a(Lbqk;Lbqm;Lbqe;)Z
 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
elementsReturns the value of theelementsrecord component.- Returns:
- the value of the elementsrecord component
 
 
-