public abstract class AbstractHyperUnitBPG extends java.lang.Object implements UserDataContainer
UserDataContainer.CopyAction
Modifier and Type | Field and Description |
---|---|
protected HypergraphBPG |
graph
Deprecated.
|
protected BipartiteVertex |
vertex
Deprecated.
|
Constructor and Description |
---|
AbstractHyperUnitBPG()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
Deprecated.
Adds the specified data with the specified key to this object's
user data repository, with the specified CopyAction.
|
java.lang.Object |
clone()
Deprecated.
|
boolean |
containsUserDatumKey(java.lang.Object key)
Deprecated.
Reports whether
key is a key of this user data container. |
boolean |
equals(java.lang.Object o)
Deprecated.
|
ArchetypeGraph |
getGraph()
Deprecated.
|
java.lang.Object |
getUserDatum(java.lang.Object key)
Deprecated.
Retrieves the object in this object's user data repository to which key
refers.
|
UserDataContainer.CopyAction |
getUserDatumCopyAction(java.lang.Object key)
Deprecated.
Retrieves the CopyAction for the object stored in this object's
user data repository to which key refers.
|
java.util.Iterator |
getUserDatumKeyIterator()
Deprecated.
Provides an iterator over this object's user data repository key set.
|
void |
importUserData(UserDataContainer udc)
Deprecated.
Takes the user data stored in udc and copies it to this object's
user data repository, respecting each datum's CopyAction.
|
java.lang.Object |
removeUserDatum(java.lang.Object key)
Deprecated.
Retrieves the object in this object's user data repository to which key
refers, and removes it from the repository.
|
void |
removeVertex(HypervertexBPG hv3)
Deprecated.
|
protected void |
setGraph(HypergraphBPG hypergraphBPG)
Deprecated.
|
void |
setUserDatum(java.lang.Object key,
java.lang.Object datum,
UserDataContainer.CopyAction copyAct)
Deprecated.
If key refers to an existing user datum in this object's repository,
that datum is replaced by the specified datum.
|
protected BipartiteVertex |
underlying_vertex()
Deprecated.
|
protected BipartiteVertex vertex
protected HypergraphBPG graph
protected BipartiteVertex underlying_vertex()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public ArchetypeGraph getGraph()
Element.getGraph()
public void addUserDatum(java.lang.Object key, java.lang.Object datum, UserDataContainer.CopyAction copyAct)
UserDataContainer
addUserDatum
in interface UserDataContainer
key
- the key of the datum being addeddatum
- the datum being addedcopyAct
- the CopyAction of the datum being addedUserDataContainer.addUserDatum(java.lang.Object, java.lang.Object, edu.uci.ics.jung.utils.UserDataContainer.CopyAction)
public void importUserData(UserDataContainer udc)
UserDataContainer
importUserData
in interface UserDataContainer
udc
- the source of the user data to be copied into this containerUserDataContainer.importUserData(edu.uci.ics.jung.utils.UserDataContainer)
public java.util.Iterator getUserDatumKeyIterator()
UserDataContainer
getUserDatumKeyIterator
in interface UserDataContainer
UserDataContainer.getUserDatumKeyIterator()
public UserDataContainer.CopyAction getUserDatumCopyAction(java.lang.Object key)
UserDataContainer
getUserDatumCopyAction
in interface UserDataContainer
key
- the key of the datum whose CopyAction is requestedUserDataContainer.getUserDatumCopyAction(java.lang.Object)
public java.lang.Object getUserDatum(java.lang.Object key)
UserDataContainer
getUserDatum
in interface UserDataContainer
key
- the key of the datum to retrieveUserDataContainer.getUserDatum(java.lang.Object)
public void setUserDatum(java.lang.Object key, java.lang.Object datum, UserDataContainer.CopyAction copyAct)
UserDataContainer
setUserDatum
in interface UserDataContainer
key
- the key of the datum being added/modifieddatum
- the replacement/new datumcopyAct
- the CopyAction for the new (key, datum) pairUserDataContainer.setUserDatum(java.lang.Object, java.lang.Object, edu.uci.ics.jung.utils.UserDataContainer.CopyAction)
public java.lang.Object removeUserDatum(java.lang.Object key)
UserDataContainer
removeUserDatum
in interface UserDataContainer
key
- the key of the datum to be removedUserDataContainer.removeUserDatum(java.lang.Object)
public boolean containsUserDatumKey(java.lang.Object key)
UserDataContainer
key
is a key of this user data container.containsUserDatumKey
in interface UserDataContainer
key
- the key to be queriedkey
is present in this user data containerprotected void setGraph(HypergraphBPG hypergraphBPG)
hypergraphBPG
- public void removeVertex(HypervertexBPG hv3)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface UserDataContainer
clone
in class java.lang.Object
java.lang.CloneNotSupportedException