Iterator<NioSession>
protected static class NioProcessor.IoSessionIterator<NioSession> extends Object implements Iterator<NioSession>
Selector.selectedKeys()
or
the Selector.keys()
iterator;Modifier and Type | Method | Description |
---|---|---|
boolean |
hasNext() |
|
NioSession |
next() |
|
void |
remove() |
forEachRemaining
public boolean hasNext()
hasNext
in interface Iterator<NioSession>
public NioSession next()
next
in interface Iterator<NioSession>
public void remove()
remove
in interface Iterator<NioSession>
Copyright © 2004–2018 Apache MINA Project. All rights reserved.