org.flexgen.map
Class MapUnit

java.lang.Object
  extended by org.flexgen.map.MapUnit

public class MapUnit
extends java.lang.Object

Class representing a map unit that can be used in map tiles.


Constructor Summary
MapUnit(java.lang.String name)
          Construct a map unit.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether or not this map unit is equal to another map unit.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Get the string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapUnit

public MapUnit(java.lang.String name)
Construct a map unit.

Parameters:
name - Name of the map unit. Cannot be null.
Method Detail

toString

public java.lang.String toString()
Get the string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
The string representation of this object.

equals

public boolean equals(java.lang.Object obj)
Determines whether or not this map unit is equal to another map unit.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The map unit against which to compare this map unit.
Returns:
True if the two map units are equal, false otherwise.

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
A hash code value for this object.


FlexGen Home

Get FlexGen at SourceForge.net. Fast, secure and Free Open Source software downloads

Copyright © 2009 - Jeffrey J. Weston <jjweston@gmail.com>

All rights reserved. Use is subject to license terms.