public class EventResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EventResult.Builder |
Modifier and Type | Field and Description |
---|---|
static EventResult |
EMPTY |
Modifier and Type | Method and Description |
---|---|
static EventResult.Builder |
create() |
<T> T |
getResult(int index)
Returns value at
index position and implicitly casts it to T . |
int |
getResultsCount() |
<T> T |
getTag(int index)
Returns value at
index position and implicitly casts it to T . |
int |
getTagsCount() |
public static final EventResult EMPTY
public <T> T getResult(int index)
index
position and implicitly casts it to T
.
Returns null
if there is no value for specified index
.public int getResultsCount()
public <T> T getTag(int index)
index
position and implicitly casts it to T
.
Returns null
if there is no value for specified index
.public int getTagsCount()
public static EventResult.Builder create()