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(Comparator comparator)
Note the only valid Comparator to be passed is JAMonArrayComparator
|
add, compare, getCollection, getComparator, getOrderedCollection, remove, setCollection, shouldReplaceWith
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public NExtremeArrayBufferHolder(JAMonArrayComparator comparator)
comparator
- public NExtremeArrayBufferHolder(boolean naturalOrder, int colToCompare)
public void setComparator(Comparator comparator)
setComparator
in class NExtremeBufferHolder
public BufferHolder copy()
copy
in interface BufferHolder
copy
in class NExtremeBufferHolder
Copyright © 2015. All rights reserved.