Package org.eclipse.rdf4j.rio.hdt
Enum HDTTriples.Order
- java.lang.Object
-
- java.lang.Enum<HDTTriples.Order>
-
- org.eclipse.rdf4j.rio.hdt.HDTTriples.Order
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HDTTriples.Order>
- Enclosing class:
- HDTTriples
protected static enum HDTTriples.Order extends java.lang.Enum<HDTTriples.Order>
-
-
Field Summary
Fields Modifier and Type Field Description private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
Order(int value)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getValue()
static HDTTriples.Order
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HDTTriples.Order[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final HDTTriples.Order UNKNOWN
-
SPO
public static final HDTTriples.Order SPO
-
SOP
public static final HDTTriples.Order SOP
-
PSO
public static final HDTTriples.Order PSO
-
POS
public static final HDTTriples.Order POS
-
OSP
public static final HDTTriples.Order OSP
-
OPS
public static final HDTTriples.Order OPS
-
-
Method Detail
-
values
public static HDTTriples.Order[] 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 (HDTTriples.Order c : HDTTriples.Order.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HDTTriples.Order 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
-
getValue
protected int getValue()
-
-