public class BoolEvtScheduler extends Object implements EvtScheduler<IntEventType>
Constructor and Description |
---|
BoolEvtScheduler() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
void |
init(int mask)
Initializes the scheduler with an event defined by 'mask'.
|
int |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the
getIterator (optional operation).
|
int |
select(int mask) |
public void init(int mask)
EvtScheduler
init
in interface EvtScheduler<IntEventType>
mask
- event's mask receivedpublic int select(int mask)
select
in interface EvtScheduler<IntEventType>
public boolean hasNext()
IntIterator
hasNext
in interface IntIterator
public int next()
IntIterator
next
in interface IntIterator
public void remove()
IntIterator
remove
in interface IntIterator
Copyright © 2018. All rights reserved.