Class PlaceholderAtoZ

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

public class PlaceholderAtoZ extends SortingType
Sorting by a placeholder alphabetically
  • Constructor Details

    • PlaceholderAtoZ

      public PlaceholderAtoZ(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