public class StatElement<V> extends Object implements IStatElement<V>
| Constructor and Description |
|---|
StatElement(String name,
V data)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
V |
getData()
Get the data, ex. for hit count you would get a value for some number.
|
String |
getName()
Get the name of the stat element, ex.
|
void |
setData(V data)
Set the data for this element.
|
void |
setName(String name) |
String |
toString() |
public String getName()
getName in interface IStatElement<V>public void setName(String name)
setName in interface IStatElement<V>name - public V getData()
getData in interface IStatElement<V>public void setData(V data)
setData in interface IStatElement<V>data - Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.