@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Pattern pattern = (Pattern) o; if (memregs != pattern.memregs) return false; if (counters != pattern.counters) return false; if (lookaheads != pattern.lookaheads) return false; if (stringRepr != null ? !stringRepr.equals(pattern.stringRepr) : pattern.stringRepr != null) return false; return root != null ? root.equals(pattern.root) : pattern.root == null && (root0 != null ? root0.equals(pattern.root0) : pattern.root0 == null && (namedGroupMap != null ? namedGroupMap.equals(pattern.namedGroupMap) : pattern.namedGroupMap == null)); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; Lookahead lookahead = (Lookahead) o; return isPositive == lookahead.isPositive; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Optimizer optimizer = (Optimizer) o; return distance == optimizer.distance && (atom != null ? atom.equals(optimizer.atom) : optimizer.atom == null); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; Lookbehind that = (Lookbehind) o; return isPositive == that.isPositive && prevDistance == that.prevDistance; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Pattern pattern = (Pattern) o; if (memregs != pattern.memregs) return false; if (counters != pattern.counters) return false; if (lookaheads != pattern.lookaheads) return false; if (stringRepr != null ? !stringRepr.equals(pattern.stringRepr) : pattern.stringRepr != null) return false; return root != null ? root.equals(pattern.root) : pattern.root == null && (root0 != null ? root0.equals(pattern.root0) : pattern.root0 == null && (namedGroupMap != null ? namedGroupMap.equals(pattern.namedGroupMap) : pattern.namedGroupMap == null)); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; Lookahead lookahead = (Lookahead) o; return isPositive == lookahead.isPositive; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; Lookbehind that = (Lookbehind) o; return isPositive == that.isPositive && prevDistance == that.prevDistance; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Optimizer optimizer = (Optimizer) o; return distance == optimizer.distance && (atom != null ? atom.equals(optimizer.atom) : optimizer.atom == null); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; ConditionalExpr that = (ConditionalExpr) o; return newBranchStarted == that.newBranchStarted && linkAsBranch == that.linkAsBranch && (node != null ? node.equals(that.node) : that.node == null); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; ConditionalExpr that = (ConditionalExpr) o; return newBranchStarted == that.newBranchStarted && linkAsBranch == that.linkAsBranch && (node != null ? node.equals(that.node) : that.node == null); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; SearchEntry that = (SearchEntry) o; if (index != that.index) return false; if (cnt != that.cnt) return false; if (regLen != that.regLen) return false; if (isState != that.isState) return false; if (term != null ? !term.equals(that.term) : that.term != null) return false; if (sub != null ? !sub.equals(that.sub) : that.sub != null) return false; if (on != null ? !on.equals(that.on) : that.on != null) return false; if (mHead != null ? !mHead.equals(that.mHead) : that.mHead != null) return false; return mCurrent != null ? mCurrent.equals(that.mCurrent) : that.mCurrent == null && (cHead != null ? cHead.equals(that.cHead) : that.cHead == null && (cCurrent != null ? cCurrent.equals(that.cCurrent) : that.cCurrent == null)); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; SearchEntry that = (SearchEntry) o; if (index != that.index) return false; if (cnt != that.cnt) return false; if (regLen != that.regLen) return false; if (isState != that.isState) return false; if (term != null ? !term.equals(that.term) : that.term != null) return false; if (sub != null ? !sub.equals(that.sub) : that.sub != null) return false; if (on != null ? !on.equals(that.on) : that.on != null) return false; if (mHead != null ? !mHead.equals(that.mHead) : that.mHead != null) return false; return mCurrent != null ? mCurrent.equals(that.mCurrent) : that.mCurrent == null && (cHead != null ? cHead.equals(that.cHead) : that.cHead == null && (cCurrent != null ? cCurrent.equals(that.cCurrent) : that.cCurrent == null)); }
if (cntreg != term.cntreg) return false; if (lookaheadId != term.lookaheadId) return false; if (next != null ? !next.equals(term.next) : term.next != null) return false; if (bitset != null ? !bitset.equals(term.bitset) : term.bitset != null) return false;
if (cntreg != term.cntreg) return false; if (lookaheadId != term.lookaheadId) return false; if (next != null ? !next.equals(term.next) : term.next != null) return false; if (bitset != null ? !bitset.equals(term.bitset) : term.bitset != null) return false;