|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.webgraph.labelling.AbstractLabel
public abstract class AbstractLabel
An abstract implementation throwing an IllegalArgumentException
on all primitive-type methods.
Constructor Summary | |
---|---|
AbstractLabel()
|
Method Summary | |
---|---|
boolean |
getBoolean()
The value associated to the well-known attribute, provided that the latter has a type that fits a boolean. |
boolean |
getBoolean(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a boolean. |
byte |
getByte()
The value associated to the well-known attribute, provided that the latter has a type that fits a byte. |
byte |
getByte(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a byte. |
char |
getChar()
The value associated to the well-known attribute, provided that the latter has a type that fits a char. |
char |
getChar(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a char. |
double |
getDouble()
The value associated to the well-known attribute, provided that the latter has a type that fits a double. |
double |
getDouble(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a double. |
float |
getFloat()
The value associated to the well-known attribute, provided that the latter has a type that fits a float. |
float |
getFloat(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a float. |
int |
getInt()
The value associated to the well-known attribute, provided that the latter has a type that fits a int. |
int |
getInt(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a int. |
long |
getLong()
The value associated to the well-known attribute, provided that the latter has a type that fits a long. |
long |
getLong(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a long. |
short |
getShort()
The value associated to the well-known attribute, provided that the latter has a type that fits a short. |
short |
getShort(String key)
The value associated to the attribute with given key, provided that the latter has a type that fits a short. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.webgraph.labelling.Label |
---|
attributeKeys, attributeTypes, copy, fixedWidth, fromBitStream, get, get, toBitStream, toSpec, wellKnownAttributeKey |
Constructor Detail |
---|
public AbstractLabel()
Method Detail |
---|
public byte getByte() throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getByte
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public short getShort(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getShort
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public int getInt(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getInt
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public long getLong(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getLong
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public float getFloat(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getFloat
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public double getDouble(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getDouble
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public char getChar(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getChar
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public boolean getBoolean(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getBoolean
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public byte getByte(String key) throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getByte
in interface Label
key
- the attribute key.
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public short getShort() throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getShort
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public int getInt() throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getInt
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public long getLong() throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getLong
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public float getFloat() throws IllegalArgumentException
Label
getFloat
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public double getDouble() throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getDouble
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public char getChar() throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getChar
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.public boolean getBoolean() throws IllegalArgumentException
Label
IllegalArgumentException
is thrown.
getBoolean
in interface Label
IllegalArgumentException
- if the attribute key is not known, or it has the wrong type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |