2627282930313233343536
case WIDTH: cache.put(CompareType.WIDTH, new WidthComparator()); break; case HEIGHT: cache.put(CompareType.HEIGHT, new HeightComparator()); break; case PERIMETER: cache.put(CompareType.PERIMETER, new PerimeterComparator()); break;