private void collectStackId(Entry entry, Map<Integer, List<Entry>> stackId2Proc, MutableInt maxStackId) { if (LOG.isDebugEnabled()) { LOG.debug("Procedure {} stack ids={}", entry, entry.proc.getStackIdList()); } for (int i = 0, n = entry.proc.getStackIdCount(); i < n; i++) { int stackId = entry.proc.getStackId(i); if (stackId > maxStackId.intValue()) { maxStackId.setValue(stackId); } stackId2Proc.computeIfAbsent(stackId, k -> new ArrayList<>()).add(entry); } entry.subProcs.forEach(e -> collectStackId(e, stackId2Proc, maxStackId)); }
size += 1 * getStackIdList().size();
hash = (53 * hash) + getStackIdList().hashCode();
result = result && state_ == other.state_; result = result && getStackIdList() .equals(other.getStackIdList()); result = result && (hasLastUpdate() == other.hasLastUpdate()); if (hasLastUpdate()) {
hash = (53 * hash) + getStackIdList().hashCode();
size += 1 * getStackIdList().size();
proc.setStackIndexes(proto.getStackIdList());
proc.setStackIndexes(proto.getStackIdList());
private void collectStackId(Entry entry, Map<Integer, List<Entry>> stackId2Proc, MutableInt maxStackId) { if (LOG.isDebugEnabled()) { LOG.debug("Procedure {} stack ids={}", entry, entry.proc.getStackIdList()); } for (int i = 0, n = entry.proc.getStackIdCount(); i < n; i++) { int stackId = entry.proc.getStackId(i); if (stackId > maxStackId.intValue()) { maxStackId.setValue(stackId); } stackId2Proc.computeIfAbsent(stackId, k -> new ArrayList<>()).add(entry); } entry.subProcs.forEach(e -> collectStackId(e, stackId2Proc, maxStackId)); }
result = result && state_ == other.state_; result = result && getStackIdList() .equals(other.getStackIdList()); result = result && (hasLastUpdate() == other.hasLastUpdate()); if (hasLastUpdate()) {
proc.setStackIndexes(proto.getStackIdList());