All Packages Class Hierarchy This Package Previous Next Index
Class COM.objectspace.jgl.util.ObjectOutputStreamIterator
java.lang.Object
|
+----COM.objectspace.jgl.util.ObjectOutputStreamIterator
- public class ObjectOutputStreamIterator
- extends Object
- implements OutputIterator
An ObjectOutputStreamIterator is an output iterator that writes objects
to an ObjectOutputStream.
- See Also:
- ObjectOutputStream
-
ObjectOutputStreamIterator(ObjectOutputStream)
- Construct myself to print all objects to the specified stream.
-
ObjectOutputStreamIterator(ObjectOutputStreamIterator)
- Construct myself to be associated with the same stream as the specified
iterator.
-
advance()
- Advance by one.
-
advance(int)
- Advance by a specified amount.
-
clone()
- Return a clone of myself.
-
getStream()
- Return the stream upon which I operate.
-
put(Object)
- Print the object to my ObjectOutputStream.
ObjectOutputStreamIterator
public ObjectOutputStreamIterator(ObjectOutputStream stream)
- Construct myself to print all objects to the specified stream.
- Parameters:
- stream - The stream.
ObjectOutputStreamIterator
public ObjectOutputStreamIterator(ObjectOutputStreamIterator iterator)
- Construct myself to be associated with the same stream as the specified
iterator.
getStream
public ObjectOutputStream getStream()
- Return the stream upon which I operate.
put
public void put(Object object)
- Print the object to my ObjectOutputStream.
- Parameters:
- object - The object.
advance
public void advance()
- Advance by one. This has no effect for an ObjectOutputStreamIterator.
advance
public void advance(int n)
- Advance by a specified amount. This has no effect for a
ObjectOutputStreamIterator.
- Parameters:
- n - The amount to advance.
clone
public Object clone()
- Return a clone of myself.
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index