public class NExtremeArrayBufferHolder extends NExtremeBufferHolder
Constructor and Description |
---|
NExtremeArrayBufferHolder(boolean naturalOrder,
int colToCompare)
Pass true for natural order, and false for reverse order and column number in Object[] to compare starting at 0
|
NExtremeArrayBufferHolder(JAMonArrayComparator comparator)
Constructor that takes a JAMonArrayComparator that can be used to determine
when values should be removed from and added to the array.
|
Modifier and Type | Method and Description |
---|---|
BufferHolder |
copy()
Factory method that returns a usable copy of this object
|
void |
setComparator(java.util.Comparator comparator)
Note the only valid Comparator to be passed is JAMonArrayComparator
|
add, compare, getCollection, getComparator, getOrderedCollection, remove, setCollection, shouldReplaceWith
public NExtremeArrayBufferHolder(JAMonArrayComparator comparator)
comparator
- public NExtremeArrayBufferHolder(boolean naturalOrder, int colToCompare)
public void setComparator(java.util.Comparator comparator)
setComparator
in class NExtremeBufferHolder
public BufferHolder copy()
copy
in interface BufferHolder
copy
in class NExtremeBufferHolder