Package scale.common

Provides various base & "helper" classes.

See:
          Description

Interface Summary
DisplayNode All classes whose instances will be displayed graphically by a DisplayGraph must implement this interface.
 

Class Summary
BitVect A class which implements a vector of bits similar to java.util.BitSet.
Cost This class implements a cost model based on a power expansion.
Debug A class for aiding in debuging.
DisjointSet A class which implements the data structure for Disjoint Sets.
DisplayGraph All tools used to display Scale graphs must extend this class.
DoubleEnumeration<T> This class generates an enumeration for two elements.
DoubleIterator<T> This class generates an iterator for two elements.
Emit An abstract class for emitting code sequences.
EmitToFile A class for emitting code sequences to a file.
EmitToString A class for emitting code sequences to a string.
EmptyEnumeration<T> Define an empty enumeration to return when some complex container structure has not yet been allocated but an enumeration of it is requested.
EmptyIterator<T> Define an empty iterator to return when some complex container structure has not yet been allocated but an iterator of it is requested.
HashMap<K,V> A Scale cover class for a java.util.Hashtable.
HashSet<T> A Scale cover class for a java.util.HashSet.
IntMap<T> This class maps from an integer value to an Object.
Lattice This class performs lattice arithmetic operations on values wrapped as objects.
Machine This is the base class for all machine specific information.
Msg This provides the basis for messages issued by the Scale compiler.
MsgEnglish This provides the basis for English messages issued by the Scale compiler.
PragmaStk This class is used to hold and process #pragma information.
PragmaStk.Pragma  
ProfileInfo An instance of this class is used to hold the profilie information generated from a previous execution of an instrumented CFG..
Root This class is the top level class for all Scale classes that may be annotated or graphically displayed.
SingleEnumeration<T> This class generates an enumeration for a single element.
SingleIterator<T> This class generates an iterator for a single element.
Stack<T> Implement our own Stack class that is un-synchronized and allows us to collect statictics on the number of Stacks in use.
Statistics This class registers statistics that are gathered by different classes.
StringTable This class maps from an integer value to a String.
Table<K,V> This class defines a table structure that is used to record various pieces of information.
UniqueName This class implements a unique name generator.
Vector<T> Implement our own Vector class that is un-synchronized and allows us to collect statictics on the number of Vectors in use.
WorkArea This class helps to eliminate JVM Heap allocations.
 

Enum Summary
DColor This enum specifies graphical display colors - red, blue, etc.
DEdge This enum specifies graphical display edge types - dashed, dotted, etc.
DShape This enum specifies graphical display shapes - box, circle, etc.
 

Exception Summary
Exception The base class for exceptions thrown by the Scale system.
InvalidException This exception may be used whenever a parameter has an invalid value such as an unexpected NULL pointer or a value out of range.
InvalidKeyException This exception indicates that some request to access a table or data structure has used an invalid key.
NoSuchElementException A search for an element of a container failed to find the element.
ResourceException This exception signals a lack of a resource needed.
RuntimeException The base class for run-time exceptions thrown by the Scale system.
 

Error Summary
Error This class is the base class for all errors.
InternalError This error indicates that the system has detected an internal error within itself.
InvalidMutationError This error indicates that an attempt was made to change a graph, and it was not possible to complete the operation.
InvalidTableError This error indicates that the system has detected an improper useage of a table.
NotImplementedError This error indicates that some feature is not yet implemented.
 

Package scale.common Description

Provides various base & "helper" classes.