-
-
Method Summary
Modifier and Type Method Description abstract Set<T>
get()
Gets an unmodifiable Set of Ts. abstract Boolean
contains(ID id)
Gets if this manager contains an item with the given id. abstract Unit
add(T toAdd)
Adds a T to the managed Ts. abstract Unit
addAll(Collection<T> toAdd)
Adds all of the given values to the managed Ts. abstract Unit
remove(ID id)
Removes any Ts that have the given id. abstract T
getById(ID id)
Attempts to fetch a T by the given id. abstract Unit
clear()
Clears the managed items. abstract T
random()
Returns a random item from the managed items, null if unable to pick one.
-