public static enum CardTerminals.State extends Enum<CardTerminals.State>
Enum Constant and Description |
---|
ALL
All CardTerminals.
|
CARD_ABSENT
CardTerminals in which a card is not present.
|
CARD_INSERTION
CardTerminals for which a card insertion was detected during the
latest call to waitForChange()
call.
|
CARD_PRESENT
CardTerminals in which a card is present.
|
CARD_REMOVAL
CardTerminals for which a card removal was detected during the
latest call to waitForChange()
call.
|
Modifier and Type | Method and Description |
---|---|
static CardTerminals.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardTerminals.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardTerminals.State ALL
public static final CardTerminals.State CARD_PRESENT
public static final CardTerminals.State CARD_ABSENT
public static final CardTerminals.State CARD_INSERTION
public static final CardTerminals.State CARD_REMOVAL
public static CardTerminals.State[] values()
for (CardTerminals.State c : CardTerminals.State.values()) System.out.println(c);
public static CardTerminals.State 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 null
Copyright © 2005, 2015, Oracle and/or its affiliates. All rights reserved.