| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final CLEvent[] | |
| pack-priv final PointerBuffer | IDs
stores event ids for fast access. |
| pack-priv final PointerBuffer | IDsView
Points always to the first element of the id buffer. |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public final void | |
| pack-priv void | |
| public CLEvent | |
| pack-priv PointerBuffer | |
| private PointerBuffer | |
| public boolean | isReleased()
Implements com. release() has been called.
|
| public Iterator | |
| public void | |
| public int | |
| public String | |
| public void | |
| public void | |
| public void | waitForEvents(final int start, final int range)
Waits for all events of the specified region in this list to occur. |
| events | back to summary |
|---|---|
| private final CLEvent[] events | |
| IDs | back to summary |
|---|---|
| pack-priv final PointerBuffer IDs stores event ids for fast access. | |
| IDsView | back to summary |
|---|---|
| pack-priv final PointerBuffer IDsView Points always to the first element of the id buffer. | |
| size | back to summary |
|---|---|
| pack-priv int size | |
| CLEventList | back to summary |
|---|---|
| public CLEventList(final int capacity) | |
| CLEventList | back to summary |
|---|---|
| public CLEventList(final CLEvent... events) | |
| CLEventList | back to summary |
|---|---|
| public CLEventList(final CachedBufferFactory factory, final int capacity) | |
| CLEventList | back to summary |
|---|---|
| public CLEventList(final CachedBufferFactory factory, final CLEvent... events) | |
| capacity | back to summary |
|---|---|
| public int capacity() Returns the maximum size of this list. | |
| close | back to summary |
|---|---|
| public final void close() Implements com. Deprecated use
| |
| createEvent | back to summary |
|---|---|
| pack-priv void createEvent(final CLContext context) | |
| getEvent | back to summary |
|---|---|
| public CLEvent getEvent(final int index) | |
| getEventBuffer | back to summary |
|---|---|
| pack-priv PointerBuffer getEventBuffer(final int index) | |
| initIDBuffer | back to summary |
|---|---|
| private PointerBuffer initIDBuffer(final CachedBufferFactory factory, final int size) | |
| isReleased | back to summary |
|---|---|
| public boolean isReleased() Implements com. Doc from com. Returns true if | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| release | back to summary |
|---|---|
| public void release() Implements com. Releases all CLEvents in this list.
| |
| size | back to summary |
|---|---|
| public int size() Returns the current size of this list. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| waitForEvent | back to summary |
|---|---|
| public void waitForEvent(final int index) Waits for the event with the given index in this list to occur. | |
| waitForEvents | back to summary |
|---|---|
| public void waitForEvents() Waits for all events in this list to occur. If this list is empty this method won't do anything. | |
| waitForEvents | back to summary |
|---|---|
| public void waitForEvents(final int start, final int range) Waits for all events of the specified region in this list to occur. Will throw IndexOutOfBoundsException if indices are out of bounds. | |
| Modifier and Type | Field and Description |
|---|---|
| private final CLEvent[] | |
| private int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public CLEvent | |
| public void | remove()
Overrides default java. |
| events | back to summary |
|---|---|
| private final CLEvent[] events | |
| index | back to summary |
|---|---|
| private int index | |
| size | back to summary |
|---|---|
| private final int size | |
| EventIterator | back to summary |
|---|---|
| private EventIterator(final CLEvent[] events, final int size) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public CLEvent next() Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |