coins.alias
Class AliasGroup

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byjava.util.HashSet
              extended bycoins.alias.AliasGroup
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.io.Serializable, java.util.Set

public class AliasGroup
extends java.util.HashSet

This is the class that represents the set of HIR nodes which may be aliased to a given HIR node. Objects that elements of this set represent and the object the HIR node that owns this set represents possibly share some subspace in the memory space. A CONTENTS node with uninitialized pointer value operand is considered to represent an object that does not inhabit the memory space, so its associated AliasGroup object is empty (even does not contain the CONTENTS node itself).

Currently does not expose any public/protected fields/methods except the ones inherited from HashSet.

See Also:
AliasAnal.getAliasGroupFor(coins.ir.hir.Exp), Serialized Form

Field Summary
 
Fields inherited from class java.util.HashSet
 
Constructor Summary
AliasGroup()
          Creates a new instance of AliasGroup with the default initial capacity.
 
Method Summary
 java.util.List sort()
          For aesthetics when printing.
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

AliasGroup

public AliasGroup()
Creates a new instance of AliasGroup with the default initial capacity.

See Also:
HashSet.HashSet()
Method Detail

sort

public java.util.List sort()
For aesthetics when printing. Sorts the elements (lvalue nodes) within this AliasGroup with their indexes as the key. There is no change in the internal state of this AliasGroup object.

Returns:
sorted List object.