public static enum BitCounter.BitCounterType extends Enum<BitCounter.BitCounterType>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
BitCounter.BitCounterType |
update(int bit) |
static BitCounter.BitCounterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitCounter.BitCounterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitCounter.BitCounterType zero
public static final BitCounter.BitCounterType one
public static final BitCounter.BitCounterType varying
public static final BitCounter.BitCounterType virgin
public static BitCounter.BitCounterType[] values()
for (BitCounter.BitCounterType c : BitCounter.BitCounterType.values()) System.out.println(c);
public static BitCounter.BitCounterType 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 nullpublic BitCounter.BitCounterType update(int bit)
public String toString()
toString in class Enum<BitCounter.BitCounterType>Copyright © 2019. All rights reserved.