|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.rowregex.MultimatchState
public class MultimatchState
State holder for matches, backed by an array, for fast copying and writing.
Constructor Summary | |
---|---|
MultimatchState(EventBean theEvent)
Ctor. |
|
MultimatchState(int count,
EventBean[] events)
|
|
MultimatchState(MultimatchState state)
Ctor. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultimatchState(int count, EventBean[] events)
public MultimatchState(EventBean theEvent)
theEvent
- first event to holdpublic MultimatchState(MultimatchState state)
state
- to copyMethod Detail |
---|
public void add(EventBean theEvent)
theEvent
- to addpublic int getCount()
public EventBean[] getBuffer()
public boolean containsEvent(EventBean theEvent)
theEvent
- to check
public EventBean[] getShrinkEventArray()
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |