|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdsl.graph.api.Edge.NONEEdge
A dummy class, used to implement the constant
Edge.NONE
. Not intended for reuse
in any way.
Nested Class Summary |
Nested classes inherited from class jdsl.graph.api.Edge |
Edge.NONEEdge |
Field Summary |
Fields inherited from interface jdsl.graph.api.Edge |
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 Accessor
InvalidAccessorException
public void set(Object key, Object value) throws InvalidAccessorException
Decorable
set
in interface Decorable
key
- 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
Decorable
attr
, in this decorable object.
get
in interface Decorable
key
- The attribute of which to attempt to get the value
InvalidAccessorException
public Object destroy(Object key) throws InvalidAccessorException
Decorable
attr
, from the decorable object.
destroy
in interface Decorable
key
- The attribute to destroy (eliminate)
InvalidAccessorException
public boolean has(Object key) throws InvalidAccessorException
Decorable
has
in interface Decorable
key
- The attribute for which to check this decorable
object
InvalidAccessorException
public ObjectIterator attributes() throws InvalidAccessorException
Decorable
attributes
in interface Decorable
ObjectIterator
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 |