public enum StatementComponent extends Enum<StatementComponent> implements Function<org.openrdf.model.Statement,org.openrdf.model.Value>, Comparator<org.openrdf.model.Statement>
| Modifier and Type | Method and Description |
|---|---|
abstract org.openrdf.model.Value |
apply(org.openrdf.model.Statement statement) |
int |
compare(org.openrdf.model.Statement first,
org.openrdf.model.Statement second) |
static StatementComponent |
forLetter(char letter) |
static List<StatementComponent> |
forLetters(CharSequence letters) |
static List<StatementComponent> |
forLetters(CharSequence letters,
boolean acceptDuplicates) |
byte |
getIndex() |
char |
getLetter() |
org.openrdf.model.Statement |
replace(org.openrdf.model.Statement statement,
org.openrdf.model.Value value) |
abstract org.openrdf.model.Statement |
replace(org.openrdf.model.Statement statement,
org.openrdf.model.Value value,
org.openrdf.model.ValueFactory factory) |
static StatementComponent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementComponent[] |
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, valueOfcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final StatementComponent SUBJECT
public static final StatementComponent PREDICATE
public static final StatementComponent OBJECT
public static final StatementComponent CONTEXT
public static StatementComponent[] values()
for (StatementComponent c : StatementComponent.values()) System.out.println(c);
public static StatementComponent 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 final char getLetter()
public byte getIndex()
public abstract org.openrdf.model.Value apply(org.openrdf.model.Statement statement)
public final int compare(org.openrdf.model.Statement first,
org.openrdf.model.Statement second)
compare in interface Comparator<org.openrdf.model.Statement>public final org.openrdf.model.Statement replace(org.openrdf.model.Statement statement,
org.openrdf.model.Value value)
public abstract org.openrdf.model.Statement replace(org.openrdf.model.Statement statement,
org.openrdf.model.Value value,
org.openrdf.model.ValueFactory factory)
public static StatementComponent forLetter(char letter)
public static List<StatementComponent> forLetters(CharSequence letters)
public static List<StatementComponent> forLetters(CharSequence letters, boolean acceptDuplicates)
Copyright © 2015–2016 FBK-irst. All rights reserved.