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

public class Placeholder extends SortingType
Sorting by a placeholder by values defined in list
  • Constructor Details

    • Placeholder

      public Placeholder(Sorting sorting, String options)
      Constructs new instance with given parameters
      Parameters:
      sorting - sorting feature
      options - options used by this sorting type
  • 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