Class como.util.CubbyHole
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class como.util.CubbyHole

java.lang.Object
   |
   +----como.util.CubbyHole

public class CubbyHole
extends Object
Use this to communicate between processes. Put in an Object and read it from the other side! As long as nobody put()'s an Object into it, the get() will block!

Constructor Index

 o CubbyHole()

Method Index

 o get()
gets the Object from the CubbyHole.
 o put(Object)
put an Object in the CubbyHole.

Constructors

 o CubbyHole
  public CubbyHole()

Methods

 o get
  public synchronized Object get()
gets the Object from the CubbyHole.
Returns:
the Object.
 o put
  public synchronized void put(Object o)
put an Object in the CubbyHole.
Parameters:
o - the Object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index