org.objectweb.proactive.p2p.api.problem
Class Result

java.lang.Object
  extended byorg.objectweb.proactive.p2p.api.problem.Result
All Implemented Interfaces:
java.io.Serializable

public abstract class Result
extends java.lang.Object
implements java.io.Serializable

Author:
Alexandre di Costanzo
See Also:
Serialized Form

Constructor Summary
Result()
           
Result(java.lang.Object result)
           
 
Method Summary
 java.lang.Object getResult()
           
abstract  boolean isBetterThanMe(Result other)
           
 void setResult(java.lang.Object result)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Result

public Result()

Result

public Result(java.lang.Object result)
Method Detail

isBetterThanMe

public abstract boolean isBetterThanMe(Result other)

getResult

public java.lang.Object getResult()
Returns:
Returns the result.

setResult

public void setResult(java.lang.Object result)
Parameters:
result - The result to set.

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright ? April 2005 INRIA All Rights Reserved.