Class PlaceholderZtoA

java.lang.Object
me.neznamy.tab.shared.features.sorting.types.SortingType
me.neznamy.tab.shared.features.sorting.types.PlaceholderZtoA

public class PlaceholderZtoA extends SortingType
Sorting by a placeholder from Z to A
  • Constructor Details

    • PlaceholderZtoA

      public PlaceholderZtoA(Sorting sorting, String sortingPlaceholder)
      Constructs new instance with given parameter
      Parameters:
      sortingPlaceholder - placeholder to sort by
  • Method Details

    • getChars

      public String getChars(ITabPlayer p)
      Description copied from class: SortingType
      Returns current sorting characters of this sorting type for specified player
      Specified by:
      getChars in class SortingType
      Parameters:
      p - player to get chars for
      Returns:
      an as-short-as-possible character sequence for unique sorting
    • toString

      public String toString()
      Overrides:
      toString in class Object