public class ASTTransitionSet extends Object implements TransitionSet, Iterable<ASTTransition>
| Constructor and Description |
|---|
ASTTransitionSet(ArrayList<ASTTransition> transitions) |
ASTTransitionSet(ASTTransition transition) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(TransitionSet other)
|
ASTTransitionSet |
createMerged(TransitionSet other)
Create a merged set of
this and other by copying this and adding the
contents of other to the copy. |
boolean |
equals(Object obj)
Checks if this transition set is equal to another.
|
int |
hashCode()
Returns the hash code value for this object.
|
Iterator<ASTTransition> |
iterator() |
JsonValue |
toJson() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ASTTransitionSet(ASTTransition transition)
public ASTTransitionSet(ArrayList<ASTTransition> transitions)
public ASTTransitionSet createMerged(TransitionSet other)
TransitionSetthis and other by copying this and adding the
contents of other to the copy.createMerged in interface TransitionSetother - the TransitionSet to be merged with the copy. Implementing classes may
accept objects of their own type only.this!public void addAll(TransitionSet other)
TransitionSetaddAll in interface TransitionSetother - the TransitionSet to be merged with this. Implementing classes
may accept objects of their own type only.public Iterator<ASTTransition> iterator()
iterator in interface Iterable<ASTTransition>public int hashCode()
TransitionSethashCode in interface TransitionSethashCode in class Objectpublic boolean equals(Object obj)
TransitionSetequals in interface TransitionSetequals in class Objectpublic JsonValue toJson()
toJson in interface JsonConvertible