public class GameFluent<A extends GameFluent<A>> extends BaseFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
GameFluent.PlayersNested<N> |
_visitables| Constructor and Description |
|---|
GameFluent() |
GameFluent(Game instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic GameFluent()
public GameFluent(Game instance)
protected void copyInstance(Game instance)
public Person[] buildPlayers()
public Person buildPlayer(int index)
public Person buildFirstPlayer()
public Person buildLastPlayer()
public Person buildMatchingPlayer(Predicate<PersonBuilder> predicate)
public boolean hasMatchingPlayer(Predicate<PersonBuilder> predicate)
public A addAllToPlayers(Collection<Person> items)
public A removeAllFromPlayers(Collection<Person> items)
public A removeMatchingFromPlayers(Predicate<PersonBuilder> predicate)
public boolean hasPlayers()
public GameFluent.PlayersNested<A> addNewPlayer()
public GameFluent.PlayersNested<A> addNewPlayerLike(Person item)
public GameFluent.PlayersNested<A> setNewPlayerLike(int index, Person item)
public GameFluent.PlayersNested<A> editPlayer(int index)
public GameFluent.PlayersNested<A> editFirstPlayer()
public GameFluent.PlayersNested<A> editLastPlayer()
public GameFluent.PlayersNested<A> editMatchingPlayer(Predicate<PersonBuilder> predicate)
public boolean equals(Object o)
equals in class BaseFluent<A extends GameFluent<A>>public int hashCode()
hashCode in class BaseFluent<A extends GameFluent<A>>Copyright © 2023. All rights reserved.