com.realtime.crossfire.jxclient.items
Class InventoryComparator

java.lang.Object
  extended by com.realtime.crossfire.jxclient.items.InventoryComparator
All Implemented Interfaces:
java.util.Comparator<CfItem>

public class InventoryComparator
extends java.lang.Object
implements java.util.Comparator<CfItem>

A Comparator that compares CfItem instances in inventory view order.


Constructor Summary
InventoryComparator()
           
 
Method Summary
 int compare(CfItem o1, CfItem o2)
          
 
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

InventoryComparator

public InventoryComparator()
Method Detail

compare

public int compare(@NotNull
                   CfItem o1,
                   @NotNull
                   CfItem o2)

Specified by:
compare in interface java.util.Comparator<CfItem>