File
Doc
Category
Size
Date
Package
MyStringIterator.java
API Doc
Example
494
Mon May 01 14:41:46 BST 2000
None
MyStringIterator
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
public class MyStringIterator extends UnicastRemoteObject implements StringIterator
Fields Summary
String[]
list
int
index
Constructors Summary
public MyStringIterator
(
String
[] list)
this.list = list;
Methods Summary
public
boolean
hasNext
()
return index < list.length;
public
java.lang.String
next
()
return list[index++];
Java Code Source