public class MultimatchState extends Object
Constructor and Description |
---|
MultimatchState(EventBean theEvent)
Ctor.
|
MultimatchState(int count,
EventBean[] events) |
MultimatchState(MultimatchState state)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(EventBean theEvent)
Add an event.
|
boolean |
containsEvent(EventBean theEvent)
Determines if an event is in the collection.
|
EventBean[] |
getBuffer()
Returns the raw buffer.
|
int |
getCount()
Returns the count of events.
|
EventBean[] |
getShrinkEventArray()
Returns the buffer sized to only the contained events, and shrinks the event array unless it is empty
|
public MultimatchState(int count, EventBean[] events)
public MultimatchState(EventBean theEvent)
theEvent
- first event to holdpublic MultimatchState(MultimatchState state)
state
- to copypublic void add(EventBean theEvent)
theEvent
- to addpublic int getCount()
public EventBean[] getBuffer()
public boolean containsEvent(EventBean theEvent)
theEvent
- to checkpublic EventBean[] getShrinkEventArray()