Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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