1 // Copyright 2000-2005 the Contributors, as shown in the revision logs.
2 // Licensed under the Apache Public Source License 2.0 ("the License").
3 // You may not use this file except in compliance with the License.
7 /** Provides a generic interface with which to call an object with a
10 * <b>NOTE:</b> State restrictions and concurrent access are implementation
11 * specific. All the <tt>Callable</tt> interface specifies is that an
12 * object is callable, not the conditions under which a call may be
15 * @see org.ibex.util.Pausable
18 public interface Callable {
19 /** Calls the object with a given argument. */
20 public Object run(Object o) throws Exception;