Enum CometTemplate.Position
- java.lang.Object
-
- java.lang.Enum<CometTemplate.Position>
-
- com.priint.pubserver.comet.entity.template.CometTemplate.Position
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CometTemplate.Position>
- Enclosing class:
- CometTemplate
public static enum CometTemplate.Position extends java.lang.Enum<CometTemplate.Position>
The Enum Position.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUEThe continue.CONTINUE_LEFTThe continue left.CONTINUE_RIGHTThe continue right.LEFTThe left.NEUTRALThe neutral.RIGHTThe right.UNKNOWNThe unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CometTemplate.PositionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CometTemplate.Position[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT
public static final CometTemplate.Position LEFT
The left.
-
RIGHT
public static final CometTemplate.Position RIGHT
The right.
-
NEUTRAL
public static final CometTemplate.Position NEUTRAL
The neutral.
-
UNKNOWN
public static final CometTemplate.Position UNKNOWN
The unknown.
-
CONTINUE_LEFT
public static final CometTemplate.Position CONTINUE_LEFT
The continue left.
-
CONTINUE_RIGHT
public static final CometTemplate.Position CONTINUE_RIGHT
The continue right.
-
CONTINUE
public static final CometTemplate.Position CONTINUE
The continue.
-
-
Method Detail
-
values
public static CometTemplate.Position[] 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 (CometTemplate.Position c : CometTemplate.Position.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CometTemplate.Position valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-