public class EventList extends Object implements Serializable, Iterable<Serializable>
Constructor and Description |
---|
EventList()
The default constructor.
|
EventList(List<? extends Serializable> list)
This method represents a constructor to initialize the event list
from a standard Java list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Serializable evt)
This method determines whether the event is contained
within the list.
|
Serializable |
get(int index)
This method returns the event at the specified index.
|
Iterator<Serializable> |
iterator() |
protected void |
reset()
This method resets the contents so they are no longer available
until resolved under another classloader.
|
protected void |
resolve(ClassLoader cl)
This method resolves the contained list.
|
int |
size()
This method returns the number of events.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public EventList()
public EventList(List<? extends Serializable> list)
list
- The list of eventsprotected void resolve(ClassLoader cl)
cl
- The classloaderprotected void reset()
public Iterator<Serializable> iterator()
iterator
in interface Iterable<Serializable>
public boolean contains(Serializable evt)
evt
- The eventpublic Serializable get(int index) throws IndexOutOfBoundsException
index
- The indexIndexOutOfBoundsException
- Index is out of boundspublic int size()
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.