Buffer used to keep the last N recent array values based on the comparator. Note the Comparator must
be thread safe. It can also stored the last n recent values of ToArray objects. By using various Comparators
you can determine what should stay in the buffer and what should be removed. JAMon comes with a number of buffers
based on this class.
Constructor that takes a JAMonArrayComparator that can be used to determine
when values should be removed from and added to the array. This can be used to
decide what to do to values in the buffer based on multiple columns.
public NExtremeArrayBufferHolder(boolean naturalOrder,
Pass true for natural order, and false for reverse order and column number in Object to compare starting at 0