EDU.purdue.cs.bloat.util |
Contains a number of utility classes used by BLOAT. BLOAT uses
several utility classes such as a directed graph and an immutatable
iterator to get its work done.
|
Java Source File Name | Type | Comment |
Assert.java | Class | Mechanism for making assertions about things in BLOAT. |
Graph.java | Class | Graph represents a graph of nodes with directed edges between them.
GraphNodes are created and are added to the Graph before the edges can be
constructed. |
GraphNode.java | Class | GraphNode represents a node in a Graph. |
IdentityComparator.java | Class | IdentityComparator compares two objects using the result of
System.identityHashCode. |
ImmutableIterator.java | Class | ImmutableIterator is simply an iterator whose contents can not be changed. |
ResizeableArrayList.java | Class | ResizableArrayList is the same as ArrayList except that ensureSize not only
increases the size of the array (super.ensureCapacity), but it also fills the
empty space with null. |
UnionFind.java | Class | Represents the union-find data structure.
Sometimes we need to group elements into disjoint sets. |