public abstract class Decorator
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Decorator(java.lang.Object key,
UserDataContainer.CopyAction action)
Constructs and initializes the decorator
|
| Modifier and Type | Method and Description |
|---|---|
UserDataContainer.CopyAction |
getCopyAction()
Retrieves the user datum copy action that this decorator uses when setting new values
|
java.lang.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
|
protected Decorator(java.lang.Object key,
UserDataContainer.CopyAction action)
key - action - public UserDataContainer.CopyAction getCopyAction()
public java.lang.Object getKey()
public int hashCode()
hashCode in class java.lang.Objectpublic void removeValue(UserDataContainer udc)
udc - the vertex/edge/graph being whose value is being removed