public class VerifData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifData.DataType<T> |
| Constructor and Description |
|---|
VerifData() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<VerifData.DataType<?>,DataCounter<?>> |
getAllData()
Get all data type and their counter
|
<T> DataCounter<T> |
getData(VerifData.DataType<T> type)
Get a data counter (or create a new one) of the specified datatype
|
boolean |
hasSomething()
Check if the verif data have found something in their data counter
|
List<JSONObject> |
toJson()
Convert all data and their counter into a list of json object
|
public <T> DataCounter<T> getData(VerifData.DataType<T> type)
type - the type of the data counterpublic HashMap<VerifData.DataType<?>,DataCounter<?>> getAllData()
public boolean hasSomething()
public List<JSONObject> toJson()