|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- The event Element.public interface Events<E extends Event>
This class represents a set of objects Event. The user must choose his own data structure and define the constuctors. For an easy way to declare and use a set of events see <\c>EventsCollection<\c>, which is an extension of Events.
Method Summary | |
---|---|
boolean |
add(E s)
This method adds an object to the set of events. |
java.util.Iterator<E> |
iterator()
This function must be implemented. |
int |
size()
Returns the number of elements. |
Method Detail |
---|
java.util.Iterator<E> iterator()
iterator
in interface java.lang.Iterable<E extends Event>
boolean add(E s)
s
- object to be added.
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |