public enum ELeftRight extends Enum<ELeftRight> implements ILeftRightIndicator
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLeft() |
boolean |
isRight() |
static ELeftRight |
valueOf(ILeftRightIndicator aLeftRightIndicator) |
static ELeftRight |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELeftRight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELeftRight LEFT
public static final ELeftRight RIGHT
public static ELeftRight[] values()
for (ELeftRight c : ELeftRight.values()) System.out.println(c);
public static ELeftRight 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 boolean isLeft()
isLeft in interface ILeftRightIndicatortrue if left and false if right.public boolean isRight()
isRight in interface ILeftRightIndicatortrue if right and false if left.@Nonnull public static ELeftRight valueOf(@Nonnull ILeftRightIndicator aLeftRightIndicator)
Copyright © 2014–2016 Philip Helger. All rights reserved.