Package com.booksaw.betterTeams.team
Class UuidSetComponent
- All Implemented Interfaces:
TeamComponent<Set<UUID>>
- Direct Known Subclasses:
AllyRequestComponent
,AllySetComponent
,AnchoredPlayerUUIDSetComponent
,BanSetComponent
-
Field Summary
Fields inherited from class com.booksaw.betterTeams.team.SetTeamComponent
set
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.booksaw.betterTeams.team.SetTeamComponent
add, clear, contains, get, getClone, getConvertedList, getSectionHeading, isEmpty, load, remove, set, size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.booksaw.betterTeams.team.TeamComponent
load, save
-
Constructor Details
-
UuidSetComponent
public UuidSetComponent()
-
-
Method Details
-
fromString
Description copied from class:SetTeamComponent
Used to convert a string into the correct component for this type- Specified by:
fromString
in classSetTeamComponent<UUID>
- Parameters:
str
- The string to convert- Returns:
- The value to be added to the list
-
toString
Description copied from class:SetTeamComponent
Used to convert a component of the list to a string for saving- Specified by:
toString
in classSetTeamComponent<UUID>
- Parameters:
component
- The component to convert- Returns:
- The converted component
-