public enum ELeftRight extends Enum<ELeftRight> implements ILeftRightIndicator
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLeft() |
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisRightpublic 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.@Nonnull public static ELeftRight valueOf(@Nonnull ILeftRightIndicator aLeftRightIndicator)
Copyright © 2014–2020 Philip Helger. All rights reserved.