netflix.ui
Class ItemComparator

java.lang.Object
  extended by netflix.ui.ItemComparator
All Implemented Interfaces:
java.util.Comparator<Item>

public class ItemComparator
extends java.lang.Object
implements java.util.Comparator<Item>


Constructor Summary
ItemComparator()
           
 
Method Summary
 int compare(Item a, Item b)
          Sorts on: 1.
 
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

ItemComparator

public ItemComparator()
Method Detail

compare

public int compare(Item a,
                   Item b)
Sorts on: 1. rating 2. id 3. description

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