org.kinsources.kiwa.hico
Class BubbleComparator

java.lang.Object
  extended by org.kinsources.kiwa.hico.BubbleComparator
All Implemented Interfaces:
java.util.Comparator<Bubble>

public class BubbleComparator
extends java.lang.Object
implements java.util.Comparator<Bubble>

Author:
TIP

Nested Class Summary
static class BubbleComparator.Criteria
           
 
Constructor Summary
BubbleComparator(BubbleComparator.Criteria criteria)
           
 
Method Summary
 int compare(Bubble alpha, Bubble bravo)
           
 
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

BubbleComparator

public BubbleComparator(BubbleComparator.Criteria criteria)
Parameters:
criteria -
Method Detail

compare

public int compare(Bubble alpha,
                   Bubble bravo)
Specified by:
compare in interface java.util.Comparator<Bubble>