net.ctdp.rfdynhud.gamedata
Class VehicleScoringInfo.VSIPlaceComparator

java.lang.Object
  extended by net.ctdp.rfdynhud.gamedata.VehicleScoringInfo.VSIPlaceComparator
All Implemented Interfaces:
java.util.Comparator<VehicleScoringInfo>
Enclosing class:
VehicleScoringInfo

public static final class VehicleScoringInfo.VSIPlaceComparator
extends java.lang.Object
implements java.util.Comparator<VehicleScoringInfo>

Comparator to sort by place.

Author:
Marvin Froehlich

Field Summary
static VehicleScoringInfo.VSIPlaceComparator INSTANCE
          Singleton instance
 
Method Summary
 int compare(VehicleScoringInfo vsi1, VehicleScoringInfo vsi2)
           
 
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
 

Field Detail

INSTANCE

public static final VehicleScoringInfo.VSIPlaceComparator INSTANCE
Singleton instance

Method Detail

compare

public int compare(VehicleScoringInfo vsi1,
                   VehicleScoringInfo vsi2)
Specified by:
compare in interface java.util.Comparator<VehicleScoringInfo>