Direction

public enum Direction extends Enum<Direction>

Defines possible directions to travel.

Entries

Link copied to clipboard

Direction to travel up in the structure. E.g. .. in the path

Link copied to clipboard

Direction to travel down in the structure. E.g. <child-directory> in the path

Link copied to clipboard

Direction to stay in the current level in the structure. E.g. . in the path

Functions

Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Integer getOrdinal()
Link copied to clipboard
public final Direction valueOf(String value)

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.)

Link copied to clipboard
public final Array<Direction> values()

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
private final String name
Link copied to clipboard
private final Integer ordinal