All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sundr.examples.arrays.GameFluent Maven / Gradle / Ivy

package io.sundr.examples.arrays;

import io.sundr.builder.VisitableBuilder;
import io.sundr.builder.Fluent;
import io.sundr.builder.Nested;
import java.util.ArrayList;
import java.lang.String;
import io.sundr.builder.Predicate;
import java.util.Collection;
import java.lang.Boolean;

public interface GameFluent> extends Fluent{


    public A withPlayers(Person... players);
    
/**
 * This method has been deprecated, please use method buildPlayers instead.
 */
public Person[] getPlayers();
    public Person[] buildPlayers();
    public Person buildPlayer(int index);
    public Person buildFirstPlayer();
    public Person buildLastPlayer();
    public Person buildMatchingPlayer(Predicate predicate);
    public A addToPlayers(int index,Person item);
    public A setToPlayers(int index,Person item);
    public A addToPlayers(Person... items);
    public A addAllToPlayers(Collection items);
    public A removeFromPlayers(Person... items);
    public A removeAllFromPlayers(Collection items);
    public Boolean hasPlayers();
    public A addNewPlayer(String firstName,String lastName,int[] numbers);
    public GameFluent.PlayersNested addNewPlayer();
    public GameFluent.PlayersNested addNewPlayerLike(Person item);
    public GameFluent.PlayersNested setNewPlayerLike(int index,Person item);
    public GameFluent.PlayersNested editPlayer(int index);
    public GameFluent.PlayersNested editFirstPlayer();
    public GameFluent.PlayersNested editLastPlayer();
    public GameFluent.PlayersNested editMatchingPlayer(Predicate predicate);

    public interface PlayersNested extends Nested,PersonFluent>{

        
    public N and();    public N endPlayer();
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy