com.planet_ink.coffee_mud.Areas.interfaces
Class Area.RoomComparator

java.lang.Object
  extended by com.planet_ink.coffee_mud.Areas.interfaces.Area.RoomComparator
All Implemented Interfaces:
java.util.Comparator<Room>
Enclosing interface:
Area

public static class Area.RoomComparator
extends java.lang.Object
implements java.util.Comparator<Room>

Comparator for tree sets, comparing room ids of rooms


Constructor Summary
Area.RoomComparator()
           
 
Method Summary
 int compare(Room arg0, Room arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

Area.RoomComparator

public Area.RoomComparator()
Method Detail

compare

public int compare(Room arg0,
                   Room arg1)
Specified by:
compare in interface java.util.Comparator<Room>