Protege 3.4.8

edu.stanford.smi.protege.util.transaction.cache
Class CacheResult<R>

java.lang.Object
  extended by edu.stanford.smi.protege.util.transaction.cache.CacheResult<R>
All Implemented Interfaces:
Serializable

public class CacheResult<R>
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CacheResult(R result, boolean isValid)
           
 
Method Summary
 boolean equals(Object obj)
           
static
<R> CacheResult<R>
getInvalid()
           
 R getResult()
           
 int hashCode()
           
 boolean isValid()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheResult

public CacheResult(R result,
                   boolean isValid)
Method Detail

getInvalid

public static <R> CacheResult<R> getInvalid()

getResult

public R getResult()
Returns:
the result

isValid

public boolean isValid()
Returns:
the isValid

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Protege 3.4.8

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2012 Stanford University.