onbon.bx06.area.unit
Enum TimerBxUnit.TimerBxUnitMode

java.lang.Object
  extended by java.lang.Enum<TimerBxUnit.TimerBxUnitMode>
      extended by onbon.bx06.area.unit.TimerBxUnit.TimerBxUnitMode
All Implemented Interfaces:
Serializable, Comparable<TimerBxUnit.TimerBxUnitMode>
Enclosing class:
TimerBxUnit

public static enum TimerBxUnit.TimerBxUnitMode
extends Enum<TimerBxUnit.TimerBxUnitMode>

秒表计算方式。

Author:
ONBON

Enum Constant Summary
A
          正计时累加。
B
          反计时累加。
C
          正计时不累加。
D
          反计时不累加。
 
Field Summary
 byte value
           
 
Method Summary
 String toString()
           
static TimerBxUnit.TimerBxUnitMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TimerBxUnit.TimerBxUnitMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A

public static final TimerBxUnit.TimerBxUnitMode A
正计时累加。


B

public static final TimerBxUnit.TimerBxUnitMode B
反计时累加。


C

public static final TimerBxUnit.TimerBxUnitMode C
正计时不累加。


D

public static final TimerBxUnit.TimerBxUnitMode D
反计时不累加。

Field Detail

value

public final byte value
Method Detail

values

public static TimerBxUnit.TimerBxUnitMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TimerBxUnit.TimerBxUnitMode c : TimerBxUnit.TimerBxUnitMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TimerBxUnit.TimerBxUnitMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<TimerBxUnit.TimerBxUnitMode>


Copyright © 2020 onbon. All rights reserved.