RegionID Class Reference

List of all members.

Public Member Functions

 RegionID (Region r)
boolean equals (Object o)
 Same name, origin, and dimensions.
int hashCode ()
 Makes HashMaps work.
String toString ()

Detailed Description

Allows us to save and load to/from xml files, because we can identify regions more or less uniquely this way.

This software is distributed under the BSD License.

Ron B Yeh (ronyeh(AT)

Definition at line 18 of file

Member Function Documentation

boolean equals ( Object  o  ) 

Same name, origin, and dimensions.

Good enough for now!

See also:

Definition at line 43 of file

References Units.equals(), RegionID.height,, RegionID.originX, RegionID.originY, and RegionID.width.

int hashCode (  ) 

Makes HashMaps work.

WARNING: Did this contribute to the Region Naming bug? TODO: Make it a nicer hashcode function.

See also:

Definition at line 59 of file

References Units.getValue().

String toString (  ) 

See also:

Definition at line 67 of file

The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:42 2007 for R3 Paper Toolkit by  doxygen 1.4.7