|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface Delayed
指定された遅延後に動作するオブジェクトをマークするための、混合スタイルのインタフェース
このインタフェースの実装は、getDelay メソッドと整合性のある順序を提供する compareTo メソッドを定義する必要があります。
| メソッドの概要 | |
|---|---|
long |
getDelay(TimeUnit unit)
このオブジェクトに関連付けられた残りの遅延時間を、指定された時間単位で返します。 |
| インタフェース java.lang.Comparable から継承されたメソッド |
|---|
compareTo |
| メソッドの詳細 |
|---|
long getDelay(TimeUnit unit)
unit - 時間単位
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。