public static enum BoundedDeque.AccessPolicy extends Enum<BoundedDeque.AccessPolicy>
| Enum Constant and Description |
|---|
FIFO
First-in first-out.
|
LIFO
Last-in first-out.
|
| Modifier and Type | Method and Description |
|---|---|
static BoundedDeque.AccessPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundedDeque.AccessPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundedDeque.AccessPolicy LIFO
public static final BoundedDeque.AccessPolicy FIFO
public static BoundedDeque.AccessPolicy[] values()
for (BoundedDeque.AccessPolicy c : BoundedDeque.AccessPolicy.values()) System.out.println(c);
public static BoundedDeque.AccessPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.