| |
|
| java.lang.Object com.jamonapi.utils.NExtremeBufferHolder
All known Subclasses: com.jamonapi.NExtremeArrayBufferHolder,
NExtremeBufferHolder | public class NExtremeBufferHolder implements BufferHolder,Comparator(Code) | | Buffer used to keep the last N recent values based on the comparator. Note the Comparator must
be thread safe.
author: steve souza |
NExtremeBufferHolder | public NExtremeBufferHolder(boolean naturalOrder)(Code) | | |
compare | public int compare(Object newObj, Object existingObj)(Code) | | Method used by the comparator interface.
o1 < o2 - returns a negative integer
o1==o2 - returns zero
o1>o2 - returns a postitive integer
Iterate through all columns that should be compared (in the proper order)
and call the Comparator for each of the column elements.
Note the column value is always the first argument and the comparison value is always the second
|
getOrderedCollection | public List getOrderedCollection()(Code) | | |
setCollection | public void setCollection(List list)(Code) | | |
shouldReplaceWith | public boolean shouldReplaceWith(Object replaceWithObj)(Code) | | |
|
|
|