Package | Description |
---|---|
java.util.concurrent |
Modifier and Type | Method and Description |
---|---|
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnit[] |
TimeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract long |
TimeUnit.convert(long sourceDuration,
TimeUnit sourceUnit) |
V |
Future.get(long timeout,
TimeUnit unit) |
long |
Delayed.getDelay(TimeUnit unit) |
Copyright © 2018. All rights reserved.