Class ArrayLengthDescSorter<T extends ArrayList<?>>

java.lang.Object
games.stendhal.common.parser.ArrayLengthDescSorter<T>
Type Parameters:
T - ArrayList
All Implemented Interfaces:
Comparator<T>

public class ArrayLengthDescSorter<T extends ArrayList<?>> extends Object implements Comparator<T>
sorts a array lists based on the length, the order of list with the same length is undefined but consistent.
  • Constructor Details

    • ArrayLengthDescSorter

      public ArrayLengthDescSorter()
  • Method Details