Package harpoon.Util

Useful utility classes, including general-purpose algorithms and data-types as well as FLEX-specific utility functions.

See:
          Description

Interface Summary
ArrayFactory<E> The ArrayFactory interface allows you to make arrays of objects without run-time type information to determine the object's type.
BinaryRelation<A,B> BinaryRelation represents a predicate on a 2-tuple.
Grapher<N> Grapher is an abstract interface for specifying the graph properties of data structures so that generic graph algorithms may be applied.
MaxPriorityQueue MaxPriorityQueue maintains a Collection of Objects, each with an associated priority.
ParseUtil.StringParser Callback interface for the resource parsing routines.
PredicateWrapper PredicateWrapper wraps a predicate on an Object.
Worklist<E> A Worklist is a unique set.
 

Class Summary
ArrayIterator<E> An ArrayIterator iterates over the elements of an array.
ArraySet<E> ArraySet creates an unmodifiable Set view of an array.
BinHeapPriorityQueue BinHeapPriorityQueue is an implementation of the PriorityQueue interface.
CloneableIterator CloneableIterator is a wrapper around Iterator that is safely Cloneable.
EnumerationIterator<E> An EnumerationIterator converts an Enumeration into an Iterator.
Graph Graph
HClassUtil HClassUtil contains various useful methods for dealing with HClasses that do not seem to belong with the standard HClass methods.
ListComparator<T> A ListComparator compares two lists element-by-element.
MapComparator<K,V> A MapComparator compares two unsorted maps by first sorting their keys and then comparing them entry-by-entry (treating the map as a sorted pair list).
ParseUtil ParseUtil implements simple parsers for common string data types.
SortedMapComparator<K,V> A SortedMapComparator compares two sorted maps entry-by-entry (treating the map as a sorted pair list).
Timer Timer keeps track of how much time accumulates between successive calls to start and stop.
Tuple A Tuple is an ordered list of objects that works properly in Hashtables & etc.
UComp UComp is an universal comparator, which compares any two objecs by simply compraing their string representation.
Util Miscellaneous static utility functions.
 

Exception Summary
ParseUtil.BadLineException Exception thrown by the methods in ParseUtil to indicate an unparsable line in an input file.
 

Package harpoon.Util Description

Useful utility classes, including general-purpose algorithms and data-types as well as FLEX-specific utility functions.

Of interest are:

Author:
various