Class UuidSetComponent

java.lang.Object
com.booksaw.betterTeams.team.SetTeamComponent<UUID>
com.booksaw.betterTeams.team.UuidSetComponent
All Implemented Interfaces:
TeamComponent<Set<UUID>>
Direct Known Subclasses:
AllyRequestComponent, AllySetComponent, AnchoredPlayerUUIDSetComponent, BanSetComponent

public abstract class UuidSetComponent extends SetTeamComponent<UUID>
  • Constructor Details

    • UuidSetComponent

      public UuidSetComponent()
  • Method Details

    • fromString

      public UUID fromString(String str)
      Description copied from class: SetTeamComponent
      Used to convert a string into the correct component for this type
      Specified by:
      fromString in class SetTeamComponent<UUID>
      Parameters:
      str - The string to convert
      Returns:
      The value to be added to the list
    • toString

      public String toString(UUID component)
      Description copied from class: SetTeamComponent
      Used to convert a component of the list to a string for saving
      Specified by:
      toString in class SetTeamComponent<UUID>
      Parameters:
      component - The component to convert
      Returns:
      The converted component