public class GameFluentImpl<A extends GameFluent<A>> extends BaseFluent<A> implements GameFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
GameFluentImpl.PlayersNestedImpl<N> |
GameFluent.PlayersNested<N>_visitables| Constructor and Description |
|---|
GameFluentImpl() |
GameFluentImpl(Game instance) |
public GameFluentImpl()
public GameFluentImpl(Game instance)
public A withPlayers(Person... players)
withPlayers in interface GameFluent<A extends GameFluent<A>>@Deprecated public Person[] getPlayers()
getPlayers in interface GameFluent<A extends GameFluent<A>>public Person[] buildPlayers()
buildPlayers in interface GameFluent<A extends GameFluent<A>>public Person buildPlayer(int index)
buildPlayer in interface GameFluent<A extends GameFluent<A>>public Person buildFirstPlayer()
buildFirstPlayer in interface GameFluent<A extends GameFluent<A>>public Person buildLastPlayer()
buildLastPlayer in interface GameFluent<A extends GameFluent<A>>public Person buildMatchingPlayer(java.util.function.Predicate<PersonBuilder> predicate)
buildMatchingPlayer in interface GameFluent<A extends GameFluent<A>>public java.lang.Boolean hasMatchingPlayer(java.util.function.Predicate<PersonBuilder> predicate)
hasMatchingPlayer in interface GameFluent<A extends GameFluent<A>>public A addToPlayers(int index, Person item)
addToPlayers in interface GameFluent<A extends GameFluent<A>>public A setToPlayers(int index, Person item)
setToPlayers in interface GameFluent<A extends GameFluent<A>>public A addToPlayers(Person... items)
addToPlayers in interface GameFluent<A extends GameFluent<A>>public A addAllToPlayers(java.util.Collection<Person> items)
addAllToPlayers in interface GameFluent<A extends GameFluent<A>>public A removeFromPlayers(Person... items)
removeFromPlayers in interface GameFluent<A extends GameFluent<A>>public A removeAllFromPlayers(java.util.Collection<Person> items)
removeAllFromPlayers in interface GameFluent<A extends GameFluent<A>>public A removeMatchingFromPlayers(java.util.function.Predicate<PersonBuilder> predicate)
removeMatchingFromPlayers in interface GameFluent<A extends GameFluent<A>>public java.lang.Boolean hasPlayers()
hasPlayers in interface GameFluent<A extends GameFluent<A>>public A addNewPlayer(java.lang.String firstName, java.lang.String lastName, int[] numbers)
addNewPlayer in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> addNewPlayer()
addNewPlayer in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> addNewPlayerLike(Person item)
addNewPlayerLike in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> setNewPlayerLike(int index, Person item)
setNewPlayerLike in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> editPlayer(int index)
editPlayer in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> editFirstPlayer()
editFirstPlayer in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> editLastPlayer()
editLastPlayer in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> editMatchingPlayer(java.util.function.Predicate<PersonBuilder> predicate)
editMatchingPlayer in interface GameFluent<A extends GameFluent<A>>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2021. All Rights Reserved.