@Override public int hashCode() { int hash = MurmurHash.initialize(); hash = MurmurHash.update(hash, getActionType().ordinal()); hash = MurmurHash.update(hash, ruleIndex); hash = MurmurHash.update(hash, actionIndex); return MurmurHash.finish(hash, 3); }
@Override public int hashCode() { int hashCode = MurmurHash.initialize(); hashCode = MurmurHash.update(hashCode, ruleIndex); hashCode = MurmurHash.update(hashCode, predIndex); hashCode = MurmurHash.update(hashCode, isCtxDependent ? 1 : 0); hashCode = MurmurHash.finish(hashCode, 3); return hashCode; }
@Override public int hashCode() { int hashCode = MurmurHash.initialize(7); hashCode = MurmurHash.update(hashCode, state.stateNumber); hashCode = MurmurHash.update(hashCode, alt); hashCode = MurmurHash.update(hashCode, context); hashCode = MurmurHash.update(hashCode, semanticContext); hashCode = MurmurHash.update(hashCode, passedThroughNonGreedyDecision ? 1 : 0); hashCode = MurmurHash.update(hashCode, lexerActionExecutor); hashCode = MurmurHash.finish(hashCode, 6); return hashCode; }
@Override public int hashCode() { return MurmurHash.hashCode(opnds, OR.class.hashCode()); }