|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmuskel.util.IntegerStreamInputManager
public class IntegerStreamInputManager
Sample input manager. Delivers a nnumber of Integer items onto the input stream, when the next() method is invoked from within the manager
| Constructor Summary | |
|---|---|
IntegerStreamInputManager(int i)
creates a new IntegerStreamInputManager |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
this is the method used to check whether there are other tasks available onto the input stream |
java.lang.Object |
next()
delivers next item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerStreamInputManager(int i)
i - the number of items to be delivered on the input stream upon
Manager request.| Method Detail |
|---|
public java.lang.Object next()
next in interface InputManagerpublic boolean hasNext()
InputManager
hasNext in interface InputManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||