P
- the generic typepublic interface Players<P extends Player<P,?>>
Modifier and Type | Method and Description |
---|---|
void |
clearPlayers()
Clear players.
|
List<P> |
getPlayers()
Gets the players.
|
boolean |
hasPlayer(P aElement)
Checks for player.
|
boolean |
hasPlayers()
Checks for players.
|
int |
playerCount()
Player count.
|
Iterator<P> |
players()
Players.
|
P |
putPlayer(P aElement)
Put player.
|
boolean |
removePlayer(P aElement)
Removes the player.
|
boolean hasPlayer(P aElement)
aElement
- the a elementint playerCount()
boolean hasPlayers()
void clearPlayers()
boolean removePlayer(P aElement)
aElement
- the a elementCopyright © 2017. All rights reserved.