|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.logAnalyzer.analysis.LAAnalysis
net.logAnalyzer.analysis.MultiValuesAnalysis
This analysis result class contains an hashtable of long values arrays.
Constructor Summary | |
MultiValuesAnalysis(LAAnalyzer analyzer,
java.lang.String[] names)
Create a new analysis. |
Method Summary | |
double |
addToDouble(java.lang.Comparable key,
int index,
double value)
Add the specified value to the specified key and index. |
double |
addToDouble(java.lang.Comparable key,
int index,
long value)
Add the specified value to the specified key and index. |
double |
addToDouble(java.lang.Comparable key,
java.lang.String name,
double value)
Add the specified value to the specified key and name. |
double |
addToDouble(java.lang.Comparable key,
java.lang.String name,
long value)
Add the specified value to the specified key and name. |
long |
addToLong(java.lang.Comparable key,
int index,
double value)
Add the specified value to the specified key and index. |
long |
addToLong(java.lang.Comparable key,
int index,
long value)
Add the specified value to the specified key and index. |
long |
addToLong(java.lang.Comparable key,
java.lang.String name,
double value)
Add the specified value to the specified key and name. |
long |
addToLong(java.lang.Comparable key,
java.lang.String name,
long value)
Add the specified value to the specified key and name. |
void |
change(java.lang.Comparable oldKey,
java.lang.Comparable newKey)
Change the specified old key to the new key. |
java.util.Date |
getDate(java.lang.Comparable key,
int index)
Return the resulting value associated to the specified key. |
java.util.Date |
getDate(java.lang.Comparable key,
java.lang.String name)
Return the resulting value associated to the specified key. |
double |
getDouble(java.lang.Comparable key,
int index)
Return the resulting value associated to the specified key. |
double |
getDouble(java.lang.Comparable key,
java.lang.String name)
Return the resulting value associated to the specified key. |
long |
getLong(java.lang.Comparable key,
int index)
Return the resulting value associated to the specified key. |
long |
getLong(java.lang.Comparable key,
java.lang.String name)
Return the resulting value associated to the specified key. |
java.lang.String |
getName(int index)
Return the value name. |
int |
getNameIndex(java.lang.String name)
Return the index of the value name. |
java.lang.String[] |
getNames()
Return the values names. |
java.lang.String |
getString(java.lang.Comparable key,
int index)
Return the resulting value associated to the specified key. |
java.lang.String |
getString(java.lang.Comparable key,
java.lang.String name)
Return the resulting value associated to the specified key. |
java.lang.Object |
getValue(java.lang.Comparable key,
int index)
Return the resulting value associated to the specified key. |
java.lang.Object |
getValue(java.lang.Comparable key,
java.lang.String name)
Return the resulting value associated to the specified key. |
java.util.Date |
put(java.lang.Comparable key,
int index,
java.util.Date value)
Set the specified value to the specified key and index. |
double |
put(java.lang.Comparable key,
int index,
double value)
Set the specified value to the specified key and index. |
long |
put(java.lang.Comparable key,
int index,
long value)
Set the specified value to the specified key and index. |
java.lang.String |
put(java.lang.Comparable key,
int index,
java.lang.String value)
Set the specified value to the specified key and index. |
java.util.Date |
put(java.lang.Comparable key,
java.lang.String name,
java.util.Date value)
Set the specified value to the specified key and name. |
double |
put(java.lang.Comparable key,
java.lang.String name,
double value)
Set the specified value to the specified key and name. |
long |
put(java.lang.Comparable key,
java.lang.String name,
long value)
Set the specified value to the specified key and name. |
java.lang.String |
put(java.lang.Comparable key,
java.lang.String name,
java.lang.String value)
Set the specified value to the specified key and name. |
void |
remove(java.lang.Comparable key)
Remove the specified key of the analysis. |
void |
remove(int keyIndex)
Remove the key at the specified index of the analysis. |
void |
sortASC(int index)
Sort results by the specified value form lowest to greatest. |
void |
sortASC(java.lang.String name)
Sort results by the specified value form lowest to greatest. |
void |
sortDESC(int index)
Sort results by the specified value form greatest to lowest. |
void |
sortDESC(java.lang.String name)
Sort results by the specified value form greatest to lowest. |
Methods inherited from class net.logAnalyzer.analysis.LAAnalysis |
changeKey, containsKey, getAnalyzer, getDateFormat, getDateValue, getDoubleValue, getKey, getKeys, getLongValue, getObjectValue, getStringKey, getStringValue, getValueName, getValueNameIndex, getValuesNames, moveKeyAt, putDateValue, putDoubleValue, putLongValue, putStringValue, removeKey, removeKey, size, sortByValueASC, sortByValueDESC |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiValuesAnalysis(LAAnalyzer analyzer, java.lang.String[] names)
analyzer
- Analyzer.names
- Names of values.Method Detail |
public double addToDouble(java.lang.Comparable key, int index, double value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- Value to add.
LAAnalysis.putDoubleValue(Comparable, int, double)
,
LAAnalysis.getDoubleValue(Comparable, int)
public double addToDouble(java.lang.Comparable key, int index, long value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- Value to add.
LAAnalysis.putDoubleValue(Comparable, int, double)
,
LAAnalysis.getDoubleValue(Comparable, int)
public double addToDouble(java.lang.Comparable key, java.lang.String name, double value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- Value to add.
getNameIndex(String)
,
addToDouble(Comparable, int, double)
public double addToDouble(java.lang.Comparable key, java.lang.String name, long value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- Value to add.
getNameIndex(String)
,
addToDouble(Comparable, int, long)
public long addToLong(java.lang.Comparable key, int index, double value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- Value to add.
LAAnalysis.putLongValue(Comparable, int, long)
,
LAAnalysis.getLongValue(Comparable, int)
public long addToLong(java.lang.Comparable key, int index, long value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- Value to add.
LAAnalysis.putLongValue(Comparable, int, long)
,
LAAnalysis.getLongValue(Comparable, int)
public long addToLong(java.lang.Comparable key, java.lang.String name, double value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- Value to add.
getNameIndex(String)
,
addToLong(Comparable, int, double)
public long addToLong(java.lang.Comparable key, java.lang.String name, long value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- Value to add.
getNameIndex(String)
,
addToLong(Comparable, int, long)
public java.util.Date put(java.lang.Comparable key, int index, java.util.Date value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- New value.
LAAnalysis.putDateValue(Comparable, int, Date)
public double put(java.lang.Comparable key, int index, double value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- New value.
LAAnalysis.putDoubleValue(Comparable, int, double)
public long put(java.lang.Comparable key, int index, long value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- New value.
LAAnalysis.putLongValue(Comparable, int, long)
public java.lang.String put(java.lang.Comparable key, int index, java.lang.String value)
key
- Key of the group of values to change.index
- Index of the value in the group to change.value
- New value.
LAAnalysis.putStringValue(Comparable, int, String)
public java.util.Date put(java.lang.Comparable key, java.lang.String name, java.util.Date value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- New value.
getNameIndex(String)
,
put(Comparable, int, Date)
public double put(java.lang.Comparable key, java.lang.String name, double value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- New value.
getNameIndex(String)
,
put(Comparable, int, double)
public long put(java.lang.Comparable key, java.lang.String name, long value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- New value.
getNameIndex(String)
,
put(Comparable, int, long)
public java.lang.String put(java.lang.Comparable key, java.lang.String name, java.lang.String value)
key
- Key of the group of values to change.name
- Name of the value in the group to change.value
- New value.
getNameIndex(String)
,
put(Comparable, int, String)
public java.util.Date getDate(java.lang.Comparable key, int index)
key
- Key of the group of values.index
- Index of the value in the group to read.
LAAnalysis.getDateValue(Comparable, int)
public java.util.Date getDate(java.lang.Comparable key, java.lang.String name)
key
- Key of the group of values.name
- Name of the value in the group to read.
LAAnalysis.getDateValue(Comparable, int)
,
LAAnalysis.getValueNameIndex(String)
public double getDouble(java.lang.Comparable key, int index)
key
- Key of the group of values.index
- Index of the value in the group to read.
LAAnalysis.getDoubleValue(Comparable, int)
public double getDouble(java.lang.Comparable key, java.lang.String name)
key
- Key of the group of values.name
- Name of the value in the group to read.
LAAnalysis.getDoubleValue(Comparable, int)
,
LAAnalysis.getValueNameIndex(String)
public long getLong(java.lang.Comparable key, int index)
key
- Key of the group of values.index
- Index of the value in the group to read.
LAAnalysis.getLongValue(Comparable, int)
public long getLong(java.lang.Comparable key, java.lang.String name)
key
- Key of the group of values.name
- Name of the value in the group to read.
LAAnalysis.getLongValue(Comparable, int)
,
LAAnalysis.getValueNameIndex(String)
public java.lang.String getString(java.lang.Comparable key, int index)
key
- Key of the group of values.index
- Index of the value in the group to read.
LAAnalysis.getStringValue(Comparable, int)
public java.lang.String getString(java.lang.Comparable key, java.lang.String name)
key
- Key of the group of values.name
- Name of the value in the group to read.
LAAnalysis.getStringValue(Comparable, int)
,
LAAnalysis.getValueNameIndex(String)
public java.lang.Object getValue(java.lang.Comparable key, int index)
key
- Key of the group of values.index
- Index of the value in the group to read.
LAAnalysis.getObjectValue(Comparable, int)
public java.lang.Object getValue(java.lang.Comparable key, java.lang.String name)
key
- Key of the group of values.name
- Name of the value in the group to read.
LAAnalysis.getObjectValue(Comparable, int)
,
LAAnalysis.getValueNameIndex(String)
public java.lang.String getName(int index)
index
- Index of the value.
LAAnalysis.getValueName(int)
public int getNameIndex(java.lang.String name)
name
- Name of value.
LAAnalysis.getValueNameIndex(String)
public java.lang.String[] getNames()
LAAnalysis.getValuesNames()
public void change(java.lang.Comparable oldKey, java.lang.Comparable newKey)
oldKey
- Key to change.newKey
- New key.public void remove(java.lang.Comparable key)
key
- Key to remove.public void remove(int keyIndex)
keyIndex
- Key index to remove.public void sortASC(int index)
index
- Index of the value used to sort results.public void sortASC(java.lang.String name)
name
- Value name used to sort results.public void sortDESC(int index)
index
- Index of the value used to sort results.public void sortDESC(java.lang.String name)
name
- Value name used to sort results.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |