collections.map
Class StarInfo
java.lang.Object
   collections.map.StarInfo
collections.map.StarInfo
- public class StarInfo 
- extends java.lang.Object
StarInfo class containing two explicit comparators.
- Author:
- Thomas Rowland
 
 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, toString, wait, wait, wait | 
 
NAME_COMPARATOR
public static final java.util.Comparator NAME_COMPARATOR
DIST_COMPARATOR
public static final java.util.Comparator DIST_COMPARATOR
equals
public boolean equals(java.lang.Object o)
- 
- Overrides:
- equalsin class- java.lang.Object
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- java.lang.Object
 
- 
 
getName
public java.lang.String getName()
- 
 
getDistance
public double getDistance()
-