|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.graph.decorators.Decorator
public abstract class Decorator
Abstract decorator for cases where attributes are to be stored along with the graph/edge/vertex which they describe
Constructor Summary | |
---|---|
protected |
Decorator(Object key,
UserDataContainer.CopyAction action)
Constructs and initializes the decorator |
Method Summary | |
---|---|
UserDataContainer.CopyAction |
getCopyAction()
Retrieves the user datum copy action that this decorator uses when setting new values |
Object |
getKey()
Retrieves the user datum key that this decorator uses when setting new values |
int |
hashCode()
|
void |
removeValue(UserDataContainer udc)
Removes the values from the user data container |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Decorator(Object key, UserDataContainer.CopyAction action)
key
- action
- Method Detail |
---|
public UserDataContainer.CopyAction getCopyAction()
public Object getKey()
public int hashCode()
hashCode
in class Object
public void removeValue(UserDataContainer udc)
udc
- the vertex/edge/graph being whose value is being removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |