things.common.tools
Class Rendezvous<T>

java.lang.Object
  extended by things.common.tools.Rendezvous<T>

public class Rendezvous<T>
extends java.lang.Object

And object Rendezvous. This should be between two threads only!

Version:
1.0

Version History

EPG - Initial - 10 JUN 06
 
Author:
Erich P. Gatejen

Constructor Summary
Rendezvous()
           
 
Method Summary
 T enter()
          Wait for the Rendezvous.
 void meet(T thing)
          Meet the Rendezvous.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rendezvous

public Rendezvous()
Method Detail

enter

public T enter()
        throws java.lang.Throwable
Wait for the Rendezvous.

Returns:
the item.
Throws:
java.lang.Throwable

meet

public void meet(T thing)
          throws java.lang.Throwable
Meet the Rendezvous.

Parameters:
thing -
Throws:
java.lang.Throwable


Things.