Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


Delayedjava.util.concurrent

Java 5.0comparable

An object
that implements this interface has an associated delay. Typically, it
is some kind of task, such as a Callable, that has
been scheduled to execute at some future time. getdelay(
) returns the remaining time, measured in the specified
TimeUnit. If no time remains, geTDelay(
) should return zero or a negative value. See
ScheduledFuture and DelayQueue.


Figure 16-80. java.util.concurrent.Delayed

public interface

Delayed extends Comparable<Delayed> {
// Public Instance Methods
long

getDelay (TimeUnit

unit );
}


Implementations


ScheduledFuture

Passed To


DelayQueue.{add( ), offer( ),
put( )}

Returned By


DelayQueue.{peek( ), poll( ),
take( )}


    / 1191