Serializable
, Comparable<CardTerminals.State>
public static enum CardTerminals.State extends Enum<CardTerminals.State>
Enum Constant | 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 | 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 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b151-2