org.fuin.apps4swing
Class EDTResult<RESULT>

java.lang.Object
  extended by org.fuin.apps4swing.EDTResult<RESULT>
Type Parameters:
RESULT - Type of the result.

public class EDTResult<RESULT>
extends java.lang.Object

Helper class to transport a result in a thread safe way. Be aware that only the access to the object's reference is synchronized (not to the content).


Constructor Summary
EDTResult()
           
 
Method Summary
 RESULT getResultValue()
          Returns the value.
 void setResultValue(RESULT resultValue)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDTResult

public EDTResult()
Method Detail

getResultValue

public final RESULT getResultValue()
Returns the value.

Returns:
Value.

setResultValue

public final void setResultValue(RESULT resultValue)
Sets the value.

Parameters:
resultValue - Value to set.


Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.