harpoon.Analysis.PointerAnalysis
Class LightRelation
java.lang.Object
harpoon.Analysis.PointerAnalysis.AbstrRelation
harpoon.Analysis.PointerAnalysis.AbstrRelationMapBased
harpoon.Analysis.PointerAnalysis.LightRelation
- All Implemented Interfaces:
- Relation, Serializable, Cloneable
public class LightRelation
- extends AbstrRelationMapBased
- implements Serializable
LightRelation
- Version:
- $Id: LightRelation.java,v 1.1 2005/08/17 23:34:00 salcianu Exp $
- Author:
- Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu>
- See Also:
- Serialized Form
Methods inherited from class harpoon.Analysis.PointerAnalysis.AbstrRelation |
contains, containsKey, convert, equals, forAllEntries, hashCode, isEmpty, remove, removeKeys, removeObjects, removeValues, revert, select, toString, union, values |
LightRelation
public LightRelation()
- Creates a
RelationLight
.
getEmptyRelation
protected Relation getEmptyRelation()
- Overrides:
getEmptyRelation
in class AbstrRelation
add
public boolean add(Object key,
Object value)
- Description copied from interface:
Relation
- Adds the pair
<key, value>
to the relation.
Returns true
if the new relation is bigger.
- Specified by:
add
in interface Relation
- Overrides:
add
in class AbstrRelation
addAll
public boolean addAll(Object key,
Collection values)
- Description copied from interface:
Relation
- Adds a relation from
key
to each element of the set
values
. values
should not contain
duplicated elements.
Returns true
if the new relation is bigger.
- Specified by:
addAll
in interface Relation
- Overrides:
addAll
in class AbstrRelation
removeAll
public void removeAll(Object key,
Collection values)
- Description copied from interface:
Relation
- Removes the relation between
key
and
any element from values
.
- Specified by:
removeAll
in interface Relation
- Overrides:
removeAll
in class AbstrRelation
clone
public Object clone()
- Description copied from interface:
Relation
- Clones this relation.
- Specified by:
clone
in interface Relation
- Overrides:
clone
in class AbstrRelation