3435363738394041424344
case PERIMETER: cache.put(CompareType.PERIMETER, new PerimeterComparator()); break; case AREA: cache.put(CompareType.AREA, new AreaComparator()); break; case GREATER_DIMENSION: cache.put(CompareType.GREATER_DIMENSION, new GreaterDimComparator());