public class GameFluentImpl<A extends GameFluent<A>> extends BaseFluent<A> implements GameFluent<A>
GameFluent.PlayersNested<N>_visitables| Constructor and Description |
|---|
GameFluentImpl() |
GameFluentImpl(Game instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic 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(java.lang.Integer 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(java.lang.Integer index, Person item)
addToPlayers in interface GameFluent<A extends GameFluent<A>>public A setToPlayers(java.lang.Integer 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(java.lang.Integer index, Person item)
setNewPlayerLike in interface GameFluent<A extends GameFluent<A>>public GameFluent.PlayersNested<A> editPlayer(java.lang.Integer 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 BaseFluent<A extends GameFluent<A>>public int hashCode()
hashCode in class BaseFluent<A extends GameFluent<A>>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2022. All Rights Reserved.