Useful collections and utility classes.



Interfaces
 InterfaceDescription
 Cloneable Implemented by objects that support creating a clone.
 Comparable Implemented by classes whose instances have a natural ordering with respect to each other.
 Equalable Implemented by classes that can have separate instances indicate that they are equal.
 Hashable Builds upon the Equalable interface to allow instances to be stored efficiently in Maps or Sets.
 LogTarget A very simple Logging interface used by Log.
 Map A Map is an object that maps keys to values.
 Set A Set contains unique instances of objects.
Classes
 ClassDescription
 ArrayUtil Contains methods that should be in Array, but aren't.
 Assert Simple implementation of assertion checks for debug environments.
 ByteEnum An enum value that can be persisted as a byte.
 ClassUtil Class related utility methods.
 Command Contains a simple binding function to bind events to commands.
 CommandEvent 
 Comparators Contains sorting Comparators.
 ComparisonChain A utility for performing a "lazy" chained comparison statement, which performs comparisons only until it finds a nonzero result.
 Config 
 Controller 
 DateUtil Utility for dates.
 DelayUtil A simple way to delay invocation of a function closure by one or more frames.
 Enum Base enum class for actionscript.
 EventHandlerManager A class for keeping track of event listeners and freeing them all at a given time.
 FileUtil 
 Framerate 
 ImmutableProxyObject Acts like the passed-in Object, but prevents modifications.
 JavascriptLogTarget Writes to the Javascript console in Web Inspector in Safari, Firebug in Firefox and IE 8's Developer Tools.
 Joiner 
 LineSegment Merely a typed container for two Points.
 Log A simple logging mechanism.
 MailUtil Utility methods relating to the electronic mails.
 MapProxyObject Makes a Map behave like an object.
 Maps Factory methods for creating various Maps.
 MathUtil Collection of math utility functions.
 MultiLoader Easy loader for many things, including managing multiple downloads.
 NamedValueEvent A handy event for dispatching a name/value pair associated with the event type.
 NetUtil 
 ObserverList 
 ParameterUtil A utility for loading parameters from an XML file when run from the local filesystem.
 Preconditions Utility functions for checking function parameters and throwing appropriate errors.
 Predicates Predicates suitable for Array.filter() and other needs.
 Random A seedable pseudorandom generator of the Mersenne Twister variety, with an extremely long period.
 RandomUtil Random Random utilities.
 RingBuffer 
 Sets Factory methods for creating Sets.
 StringUtil Contains useful static function for performing operations on Strings.
 Throttle A throttle is used to prevent code from attempting a particular operation too often.
 TimeBuffer A data structure that keeps a list of objects, timestamped at the time they were added to the buffer.
 Util Contains a variety of utility functions.
 ValueEvent A handy event for simply dispatching a value associated with the event type.
 WeakReference A weak reference.
 XmlReadError 
 XmlUtil