|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.jdsl.graph.api.Edge.NONEEdge
public static final class Edge.NONEEdge
A dummy class, used to implement the constant
Edge.NONE
. Not intended for reuse
in any way.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nz.ac.waikato.jdsl.graph.api.Edge |
---|
Edge.NONEEdge |
Field Summary |
---|
Fields inherited from interface nz.ac.waikato.jdsl.graph.api.Edge |
---|
NONE |
Method Summary | |
---|---|
ObjectIterator |
attributes()
Returns an iterator over all the attributes attached to this decorable. |
java.lang.Object |
destroy(java.lang.Object key)
Removes the (attribute, value) entry associated with a certain attribute, attr , from the decorable object. |
java.lang.Object |
element()
Gets the element currently associated with this accessor. |
java.lang.Object |
get(java.lang.Object key)
Returns the value in the (attribute, value) entry associated with a certain attribute, attr , in this decorable object. |
boolean |
has(java.lang.Object key)
Tests whether there is an (attribute, value) entry associated with a certain attribute in this decorable object. |
void |
set(java.lang.Object key,
java.lang.Object value)
Sets the value in the (attribute, value) entry associated with a certain attribute in this decorable object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object element() throws InvalidAccessorException
Accessor
element
in interface Accessor
InvalidAccessorException
public void set(java.lang.Object key, java.lang.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 java.lang.Object get(java.lang.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 java.lang.Object destroy(java.lang.Object key) throws InvalidAccessorException
Decorable
attr
, from the decorable object.
destroy
in interface Decorable
key
- The attribute to destroy (eliminate)
InvalidAccessorException
public boolean has(java.lang.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 |