org.gvsig.tools.util
Interface Callable
public interface Callable
A task that returns a result and may throw an exception.
Implementors define a single method with no arguments called call.
This interface is similar to the same interface of java 1.5 and this
is here for java 1.4 compatibility.
- Author:
- gvSIG Team - jjdelcerro
Method Summary |
Object |
call()
Computes a result, or throws an exception if unable to do so. |
call
Object call()
throws Exception
- Computes a result, or throws an exception if unable to do so.
- Returns:
- computed result
- Throws:
Exception
- if unable to compute a result
Copyright © 2004-2011 gvSIG. All Rights Reserved.