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

Constructor Index

 o ObjectOutputStreamIterator(ObjectOutputStream)
Construct myself to print all objects to the specified stream.
 o ObjectOutputStreamIterator(ObjectOutputStreamIterator)
Construct myself to be associated with the same stream as the specified iterator.

Method Index

 o advance()
Advance by one.
 o advance(int)
Advance by a specified amount.
 o clone()
Return a clone of myself.
 o getStream()
Return the stream upon which I operate.
 o put(Object)
Print the object to my ObjectOutputStream.

Constructors

 o ObjectOutputStreamIterator
 public ObjectOutputStreamIterator(ObjectOutputStream stream)
Construct myself to print all objects to the specified stream.

Parameters:
stream - The stream.
 o ObjectOutputStreamIterator
 public ObjectOutputStreamIterator(ObjectOutputStreamIterator iterator)
Construct myself to be associated with the same stream as the specified iterator.

Methods

 o getStream
 public ObjectOutputStream getStream()
Return the stream upon which I operate.

 o put
 public void put(Object object)
Print the object to my ObjectOutputStream.

Parameters:
object - The object.
 o advance
 public void advance()
Advance by one. This has no effect for an ObjectOutputStreamIterator.

 o advance
 public void advance(int n)
Advance by a specified amount. This has no effect for a ObjectOutputStreamIterator.

Parameters:
n - The amount to advance.
 o clone
 public Object clone()
Return a clone of myself.

Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index