public enum QueueType extends Enum<QueueType>
| Enum Constant and Description |
|---|
FIFO
first in, first out ordering.
|
LIFO
last in, first out ordering.
|
| Modifier and Type | Method and Description |
|---|---|
static QueueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueueType FIFO
public static final QueueType LIFO
public static QueueType[] values()
for (QueueType c : QueueType.values()) System.out.println(c);
public static QueueType 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 © 2003-2019 Virginia Tech. All Rights Reserved.