public class Predicate extends Object implements Comparable<Predicate>, Serializable, AppendableToStringBuilder
Modifier and Type | Field and Description |
---|---|
static Predicate |
BOTTOM |
static Predicate |
EQUALITY |
static Predicate |
TOP |
Constructor and Description |
---|
Predicate(Object identifier,
int arity)
Construct a prefix with a specified prefix and a local name.
|
Modifier and Type | Method and Description |
---|---|
void |
appendTo(StringBuilder sb) |
int |
compareTo(Predicate other) |
boolean |
equals(Object obj)
Verifies if two predicates are the same or not.
|
int |
getArity()
Get the arity of this predicate.
|
Object |
getIdentifier()
Get the URI representation of this predicate.
|
int |
hashCode() |
String |
toString() |
public static final Predicate EQUALITY
public static final Predicate BOTTOM
public static final Predicate TOP
public Predicate(Object identifier, int arity)
identifier
- arity
- public Object getIdentifier()
public int getArity()
public boolean equals(Object obj)
public int compareTo(Predicate other)
compareTo
in interface Comparable<Predicate>
public void appendTo(StringBuilder sb)
appendTo
in interface AppendableToStringBuilder
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.