This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.util.concurrent
interface Delayed
- All Superinterfaces:
- Comparable
public interface Delayed
extends Comparable
A mix-in style interface for marking objects that should be
acted upon after a given delay.
An implementation of this interface must define a
compareTo method that provides an ordering consistent with
its getDelay method.
Method Summary |
long |
Returns the remaining delay associated with this object, in the
given time unit.
|
getDelay
public long getDelay(TimeUnit unit)
-
Returns the remaining delay associated with this object, in the
given time unit.
- Parameters:
unit
- the time unit
- Returns:
- the remaining delay; zero or negative values indicate
that the delay has already elapsed
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.