Class TPKTile.TPKTileSorter

  • All Implemented Interfaces:
    Comparator<TPKTile>
    Enclosing class:
    TPKTile

    public static class TPKTile.TPKTileSorter
    extends Object
    implements Comparator<TPKTile>
    Sort comparator -- sorts tiles by bundle and then the tile data offset
    • Constructor Summary

      Constructors 
      Constructor Description
      TPKTileSorter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(TPKTile a, TPKTile b)  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • TPKTileSorter

        public TPKTileSorter()
    • Method Detail

      • compare

        public int compare​(TPKTile a,
                           TPKTile b)
        Specified by:
        compare in interface Comparator<TPKTile>