@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (!(obj instanceof Triple<?, ?, ?>)) { return false; } Triple<?, ?, ?> other = (Triple<?, ?, ?>)obj; return ObjectEqualityComparator.INSTANCE.equals(a, other.a) && ObjectEqualityComparator.INSTANCE.equals(b, other.b) && ObjectEqualityComparator.INSTANCE.equals(c, other.c); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof ANTLRLexerState)) { return false; } ANTLRLexerState other = (ANTLRLexerState)obj; return this.mode == other.mode && ObjectEqualityComparator.INSTANCE.equals(this.modeStack, other.modeStack); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (!(obj instanceof Triple<?, ?, ?>)) { return false; } Triple<?, ?, ?> other = (Triple<?, ?, ?>)obj; return ObjectEqualityComparator.INSTANCE.equals(a, other.a) && ObjectEqualityComparator.INSTANCE.equals(b, other.b) && ObjectEqualityComparator.INSTANCE.equals(c, other.c); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (!(obj instanceof Triple<?, ?, ?>)) { return false; } Triple<?, ?, ?> other = (Triple<?, ?, ?>)obj; return ObjectEqualityComparator.INSTANCE.equals(a, other.a) && ObjectEqualityComparator.INSTANCE.equals(b, other.b) && ObjectEqualityComparator.INSTANCE.equals(c, other.c); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (!(obj instanceof Triple<?, ?, ?>)) { return false; } Triple<?, ?, ?> other = (Triple<?, ?, ?>)obj; return ObjectEqualityComparator.INSTANCE.equals(a, other.a) && ObjectEqualityComparator.INSTANCE.equals(b, other.b) && ObjectEqualityComparator.INSTANCE.equals(c, other.c); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (!(obj instanceof Quad<?, ?, ?, ?>)) { return false; } Quad<?, ?, ?, ?> other = (Quad<?, ?, ?, ?>)obj; return ObjectEqualityComparator.INSTANCE.equals(a, other.a) && ObjectEqualityComparator.INSTANCE.equals(b, other.b) && ObjectEqualityComparator.INSTANCE.equals(c, other.c) && ObjectEqualityComparator.INSTANCE.equals(d, other.d); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }
public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (other == null) { return false; } return this.getState().stateNumber==other.getState().stateNumber && this.getAlt()==other.getAlt() && this.getReachesIntoOuterContext() == other.getReachesIntoOuterContext() && this.getContext().equals(other.getContext()) && this.getSemanticContext().equals(other.getSemanticContext()) && this.isPrecedenceFilterSuppressed() == other.isPrecedenceFilterSuppressed() && this.hasPassedThroughNonGreedyDecision() == other.hasPassedThroughNonGreedyDecision() && ObjectEqualityComparator.INSTANCE.equals(this.getLexerActionExecutor(), other.getLexerActionExecutor()); }