@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode) obj; boolean result = true; result = result && getTimerInstanceIdList() .equals(other.getTimerInstanceIdList()); result = result && unknownFields.equals(other.unknownFields); return result; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < timerInstanceId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(timerInstanceId_.get(i)); } size += dataSize; size += 1 * getTimerInstanceIdList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTimerInstanceIdCount() > 0) { hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getTimerInstanceIdList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
if ( _content.getState().getTimerInstanceIdCount() > 0 ) { List<Long> timerInstances = new ArrayList<Long>(); for ( Long _timerId : _content.getState().getTimerInstanceIdList() ) { timerInstances.add( _timerId );
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < timerInstanceId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(timerInstanceId_.get(i)); } size += dataSize; size += 1 * getTimerInstanceIdList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTimerInstanceIdCount() > 0) { hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getTimerInstanceIdList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode) obj; boolean result = true; result = result && getTimerInstanceIdList() .equals(other.getTimerInstanceIdList()); result = result && unknownFields.equals(other.unknownFields); return result; }
if ( _content.getState().getTimerInstanceIdCount() > 0 ) { List<Long> timerInstances = new ArrayList<Long>(); for ( Long _timerId : _content.getState().getTimerInstanceIdList() ) { timerInstances.add( _timerId );