|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdsl.graph.api.Vertex.NONEVertex
A dummy class, used to implement the constant
Vertex.NONE
. Not intended for reuse
in any way.
| Nested Class Summary |
| Nested classes inherited from class jdsl.graph.api.Vertex |
Vertex.NONEVertex |
| Field Summary |
| Fields inherited from interface jdsl.graph.api.Vertex |
NONE |
| Method Summary | |
ObjectIterator |
attributes()
Returns an iterator over all the attributes attached to this decorable. |
Object |
destroy(Object key)
Removes the (attribute, value) entry associated with a certain attribute, attr, from the decorable object. |
Object |
element()
Gets the element currently associated with this accessor. |
Object |
get(Object key)
Returns the value in the (attribute, value) entry associated with a certain attribute, attr, in this decorable object. |
boolean |
has(Object key)
Tests whether there is an (attribute, value) entry associated with a certain attribute in this decorable object. |
void |
set(Object key,
Object value)
Sets the value in the (attribute, value) entry associated with a certain attribute in this decorable object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public String toString()
public Object element()
throws InvalidAccessorException
Accessor
element in interface AccessorInvalidAccessorException
public void set(Object key,
Object value)
throws InvalidAccessorException
Decorable
set in interface Decorablekey - The attribute to set (and create if necessary)value - the new value of the attribute in the decorable
object
InvalidAccessorException
public Object get(Object key)
throws InvalidAccessorException
Decorableattr, in this decorable object.
get in interface Decorablekey - The attribute of which to attempt to get the value
InvalidAccessorException
public Object destroy(Object key)
throws InvalidAccessorException
Decorableattr, from the decorable object.
destroy in interface Decorablekey - The attribute to destroy (eliminate)
InvalidAccessorException
public boolean has(Object key)
throws InvalidAccessorException
Decorable
has in interface Decorablekey - The attribute for which to check this decorable
object
InvalidAccessorException
public ObjectIterator attributes()
throws InvalidAccessorException
Decorable
attributes in interface DecorableObjectIterator over all the attributes
attached to this decorable
InvalidAccessorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||