Class PlaceholderLowToHigh

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

public class PlaceholderLowToHigh extends SortingType
Sorting by a numeric placeholder from lowest to highest
  • Constructor Details

    • PlaceholderLowToHigh

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