Package sim.util

Interface Summary
Indexed A simple interface (simpler than List) for accessing random-access objects without changing their size.
Proxiable A proxiable object is one which provides SimpleProperties with a proxy to stand in for it; that is, to have the proxy's properties inspected instead of the object itself.
Valuable Having a value.
 

Class Summary
Bag Maintains a simple array (objs) of Objects and the number of objects (numObjs) in the array (the array can be bigger than this number).
CollectionProperties A simple class for examining the slots of Maps, Collections, Indexed, and arrays as if the slots were Java Bean Properties.
Double2D Double2D is more or less the same class as java.awt.geom.Point2D.Double, but it is immutable: once the x and y values are set, they cannot be changed (they're final).
Double3D Double3D is more or less the same class as javax.vecmath.Point3d, but it is immutable: once the x and y and z values are set, they cannot be changed (they're final).
DoubleBag Maintains a simple array (objs) of doubles and the number of doubles (numObjs) in the array (the array can be bigger than this number).
DoubleDimension2D One real oddity of Java 1.3.1 and 1.4.1 is the lack of a concrete subclass of Dimension2D which uses doubles or floats; the only one provided (java.awt.Dimension) uses ints! This is particularly weird given that Java has Rectangle2D.Double, Rectangle2D.Float, and Rectangle (int), plus Point2D.Double, Point2D.Float, and Point (int), etc.
Heap Implementations of Heap functions in Java.
Int2D Int2D is more or less the same class as java.awt.Point, but it is immutable: once the x and y values are set, they cannot be changed (they're final).
Int3D Int3D stores three values (x, y, and z) but it is immutable: once the x and y and z values are set, they cannot be changed (they're final).
IntBag Maintains a simple array (objs) of ints and the number of ints (numObjs) in the array (the array can be bigger than this number).
Interval Defines an inclusive (closed) interval between two numerical values MIN and MAX.
MutableDouble MutableDouble simply holds a double value, which can be changed at any time.
MutableDouble2D MutableDouble2D is more or less the same class as java.awt.geom.Point2D.Double, except that it is hash-equivalent to Double2D.
MutableDouble3D MutableDouble3D is more or less the same class as javax.vecmath.Point3d, except that it is hash-equivalent to Double3D.
MutableInt2D MutableInt2D is largely a class identical to java.awt.Point, except that it is hash-equivalent to Int2D.
MutableInt3D MutableInt3D stores three values (x, y, and z) and is hash-equivalent to Int3D; except MutableInt3D's values can be modified and Int3D's values cannot.
Properties The abstract superclass of Property inspectors.
SimpleProperties A very simple class for getting and setting object properties.
Utilities Various static utility methods.
WordWrap WordWrap is a simple word-wrapping class which provides word-wrap either to columns of raw text; or to some number of pixels (given a font).