|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetkit.graph.Attribute
netkit.graph.AttributeCategorical
netkit.graph.AttributeExpandableCategorical
netkit.graph.AttributeKey
public final class AttributeKey
This class handles attributes that are of type KEY. KEY types have values that must be unique among all entities in the same attribute container.
Attributes
,
SchemaReader
Field Summary |
---|
Fields inherited from class netkit.graph.AttributeCategorical |
---|
tokenSet |
Constructor Summary | |
---|---|
AttributeKey(java.lang.String name)
The constructor must be provided the name for this attribute. |
Method Summary | |
---|---|
double |
parseAndInsert(java.lang.String token)
Parses the supplied string token for insertion into this attribute and converts the token into a double value; |
Methods inherited from class netkit.graph.AttributeExpandableCategorical |
---|
addToken |
Methods inherited from class netkit.graph.AttributeCategorical |
---|
formatForOutput, getToken, getTokens, getValue, size |
Methods inherited from class netkit.graph.Attribute |
---|
getName, getType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeKey(java.lang.String name)
name
- a String representing the name of this attribute.Method Detail |
---|
public double parseAndInsert(java.lang.String token)
parseAndInsert
in class AttributeExpandableCategorical
token
- the string value to parse.
java.lang.RuntimeException
- if the token is "?".
java.lang.RuntimeException
- if the token is a duplicate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |