|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.util.TagValueTable com.isti.util.TagValueTrkTable
public class TagValueTrkTable
Class TagValueTrkTable defines a table where each entry contains a a tag string and a mutable integer value. Optional historical tracking of entered values is also available.
Nested Class Summary | |
---|---|
class |
TagValueTrkTable.TrackingMutableLong
Class TrackingMutableLong extends MutableLong to add historical tracking of values. |
Nested classes/interfaces inherited from class com.isti.util.TagValueTable |
---|
TagValueTable.MutableLong |
Field Summary | |
---|---|
static int |
DEF_TRKBUFF_SIZE
Default number of values to track (100). |
Fields inherited from class com.isti.util.TagValueTable |
---|
hashTableObj |
Constructor Summary | |
---|---|
TagValueTrkTable()
Creates a tag-value table, with historical tracking of values. |
|
TagValueTrkTable(boolean trackValsFlag)
Creates a tag-value table, with optional historical tracking of values. |
|
TagValueTrkTable(boolean trackValsFlag,
int trkBuffSize)
Creates a tag-value table, with optional historical tracking of values. |
Method Summary | |
---|---|
TagValueTable.MutableLong |
createMutableLong(long value)
Creates a new 'TrackingMutableLong' object. |
boolean |
isValueInTrkBuffer(java.lang.String tagStr,
long value)
Determines if the given value was entered for the given tag string via a previous call to the 'put()' method. |
boolean |
isValueInTrkBuffer(java.lang.String tagStr,
java.lang.Long valueObj)
Determines if the given value was entered for the given tag string via a previous call to the 'put()' method. |
Methods inherited from class com.isti.util.TagValueTable |
---|
clone, entriesListStrToTable, get, getEntriesListStr, getEntriesListStr, getLong, getMutableLong, getNumEntries, put, remove |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEF_TRKBUFF_SIZE
Constructor Detail |
---|
public TagValueTrkTable(boolean trackValsFlag, int trkBuffSize)
trackValsFlag
- true to track values, false to not track values
(operate like TagValueTable).trkBuffSize
- number of values to track.public TagValueTrkTable(boolean trackValsFlag)
trackValsFlag
- true to track values, false to not track values
(operate like TagValueTable).public TagValueTrkTable()
Method Detail |
---|
public TagValueTable.MutableLong createMutableLong(long value)
createMutableLong
in class TagValueTable
value
- value for new 'TrackingMutableLong' object.
public boolean isValueInTrkBuffer(java.lang.String tagStr, long value)
tagStr
- tag string to use.value
- value to use.
public boolean isValueInTrkBuffer(java.lang.String tagStr, java.lang.Long valueObj)
tagStr
- tag string to use.valueObj
- value object to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |