reactor-core/src/main/java/reactor/core/publisher/RingBuffer.java
static long getMinimumSequence(@Nullable Sequence excludeSequence, final Sequence[] sequences, long minimum) {
		for (int i = 0, n = sequences.length; i < n; i++) {
			if (excludeSequence == null || sequences[i] != excludeSequence) {
				long value = sequences[i].getAsLong();
				minimum = Math.min(minimum, value);
			}
		}

		return minimum;
	}
static long getMinimumSequence(@Nullable Sequence excludeSequence, final Sequence[] sequences, long minimum) {
		for (int i = 0, n = sequences.length; i < n; i++) {
			if (excludeSequence == null || sequences[i] != excludeSequence) {
				long value = sequences[i].getAsLong();
				minimum = Math.min(minimum, value);
			}
		}

		return minimum;
	}
static long getMinimumSequence ( @ Nullable Sequence excludeSequence , final Sequence [ ] sequences , long minimum ) { for ( int i = 0 , n = sequences . length ; i < n ; i ++ ) { if ( excludeSequence == null || sequences [ i ] != excludeSequence ) { long value = sequences [ i ] . getAsLong ( ) ; minimum = Math . min ( minimum , value ) ; } } return minimum ; }
Get the minimum sequence from an array of {@link Sequence}s.

@param excludeSequence to exclude from search.
@param sequences to compare.
@param minimum an initial default minimum.  If the array is empty this value will be returned.

@return the minimum sequence found or Long.MAX_VALUE if the array is empty.
Get the minimum sequence from an array of { @link Sequence } s .