public abstract class PKey extends java.lang.Object implements DeepImmutable
Modifier and Type | Class and Description |
---|---|
static class |
PKey.Comparator |
static class |
PKey.StringPKey
Property key for fixed string.
|
static class |
PKey.SymbolPKey
Property key for Symbol.
|
Constructor and Description |
---|
PKey() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
containsObjectLabel(ObjectLabel objlabel)
Returns true if this property key contains the given object label.
|
abstract boolean |
equals(java.lang.Object o) |
abstract int |
hashCode() |
abstract boolean |
isMaybeValue(PKeys v)
Checks whether this property matches the given value.
|
abstract boolean |
isNumeric()
Checks whether this property key is a numeric index.
|
static PKey |
make(PKeys singleton_pkeys)
Returns a property key describing the given singleton property key value.
|
abstract PKey |
replaceObjectLabel(ObjectLabel oldlabel,
ObjectLabel newlabel)
Returns a copy of this property key where the given object label has been replaced.
|
abstract java.util.Set<PKey> |
summarize(Summarized s)
Constructs a property key as a copy of this value but with object labels summarized.
|
abstract java.lang.String |
toStringEscaped()
Returns a string representation of this property key, with special characters escaped.
|
abstract Value |
toValue()
Converts this property key to a
Value . |
public abstract boolean containsObjectLabel(ObjectLabel objlabel)
public abstract boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public abstract int hashCode()
hashCode
in class java.lang.Object
public abstract boolean isMaybeValue(PKeys v)
public abstract boolean isNumeric()
public static PKey make(PKeys singleton_pkeys)
AnalysisException
- if not a singletonpublic abstract PKey replaceObjectLabel(ObjectLabel oldlabel, ObjectLabel newlabel)
oldlabel
- The object label to replace.newlabel
- The object label to replace oldlabel with.public abstract java.util.Set<PKey> summarize(Summarized s)
public abstract java.lang.String toStringEscaped()
Copyright © 2009-2019 Aarhus University