Package Phase3

Class GreedyAlgorithm.RatioSorter

java.lang.Object
Phase3.GreedyAlgorithm.RatioSorter
All Implemented Interfaces:
java.util.Comparator<ParcelType>
Enclosing class:
GreedyAlgorithm

static class GreedyAlgorithm.RatioSorter
extends java.lang.Object
implements java.util.Comparator<ParcelType>
  • Constructor Summary

    Constructors 
    Constructor Description
    RatioSorter()  
  • Method Summary

    Modifier and Type Method Description
    int compare​(ParcelType o1, ParcelType 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong