If the given player passes a condition check, add it to the list.
If the given player passes a condition check, add it to the list.
a Player object
a list of Player objects
true, if the player was added to the list;
false, otherwise
Remove the given player from the list.
Remove the given player from the list.
a Player object
a list of Player objects
Add an avatar as the key of an Avatar to Player object pair in the given collection.
Add an avatar as the key of an Avatar to Player object pair in the given collection.
an Avatar object
the mapping of Avatar objects to Player objects
true, if the mapping is for a new key; false, if the key already exists
Remove an avatar from the key of an Avatar to Player object pair in the given collection.
Remove an avatar from the key of an Avatar to Player object pair in the given collection.
If a Player object is associated at the time, return it safely.
an Avatar object
the mapping of Avatar objects to Player objects
any Player object that was associated at the time the avatar was removed
Disassociate a Player object from an existing Avatar object that was be its key.
Disassociate a Player object from an existing Avatar object that was be its key.
an Avatar object
the mapping of Avatar objects to Player objects
any Player object that is associated at the time
Associate a Player object as a value to an existing Avatar object that will be its key.
Associate a Player object as a value to an existing Avatar object that will be its key.
Do not overwrite players that are already associated.
an Avatar object
a Player object
the mapping of Avatar objects to Player objects
the Player object that is associated with the Avatar key
A recursive function that finds and removes a specific player from a list of players.
A recursive function that finds and removes a specific player from a list of players.
an Iterator of Player objects
the target Player
the index of the discovered Player object
the index of the Player object in the list to be removed;
None, otherwise