public static enum PSDir.EDirValue extends Enum<PSDir.EDirValue> implements com.helger.commons.id.IHasID<String>
Modifier and Type | Method and Description |
---|---|
static PSDir.EDirValue |
getFromIDOrNull(String sID) |
String |
getID() |
static PSDir.EDirValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PSDir.EDirValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PSDir.EDirValue LTR
public static final PSDir.EDirValue RTL
public static PSDir.EDirValue[] values()
for (PSDir.EDirValue c : PSDir.EDirValue.values()) System.out.println(c);
public static PSDir.EDirValue 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 null@Nonnull @Nonempty public String getID()
getID
in interface com.helger.commons.id.IHasID<String>
@Nullable public static PSDir.EDirValue getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2017 Philip Helger. All rights reserved.