org.flexgen.map
Class MapTileEdge

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

public class MapTileEdge
extends java.lang.Object

Class representing an edge for a map tile.


Constructor Summary
MapTileEdge(java.lang.String name)
          Construct a map tile edge.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether or not this map tile edge is equal to another map tile edge.
 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

MapTileEdge

public MapTileEdge(java.lang.String name)
Construct a map tile edge.

Parameters:
name - Name of the map tile edge. 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 tile edge is equal to another map tile edge.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The map tile edge against which to compare this map tile edge.
Returns:
True if the two map tile edges 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.