KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > Exchanger

java.util.concurrent
Class Exchanger<V>

java.lang.Object
  extended by java.util.concurrent.Exchanger<V>
See Also:
exchange

public V exchange(V x)
           throws InterruptedException
See Also:
interrupted
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V exchange(V x,
                  long timeout,
                  TimeUnit unit)
           throws InterruptedException,
                  TimeoutException
See Also:
interrupted
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Exchanger()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags