src/main/java/convex/java/Convex.java
/**
	 * Updates the sequence number for this account, to the maximum of the last observed sequence
	 * number and the parameter provided.
	 * 
	 * @param seq Sequence number to set, or or the current sequence number if higher
	 * @return Sequence number for the current account
	 */
Updates the sequence number for this account, to the maximum of the last observed sequence
number and the parameter provided.

@param seq Sequence number to set, or or the current sequence number if higher
@return Sequence number for the current account
Updates the sequence number for this account to the maximum of the last observed sequence number and the parameter provided . @param seq Sequence number to set or or the current sequence number if higher @return Sequence number for the current account
public long updateSequence(long seq) {
		if (sequence!=null) {
			seq=Math.max(seq, sequence);
		}
		sequence=seq;
		return sequence;
	}
public long updateSequence ( long seq ) { if ( sequence != null ) { seq = Math . max ( seq , sequence ) ; } sequence = seq ; return sequence ; }
Updates the sequence number for this account, to the maximum of the last observed sequence
 number and the parameter provided.
Updates the sequence number for this account to the maximum of the last observed sequence number and the parameter provided .