Search:

Type: Posts; User: DinoKing

Search: Search took 0.20 seconds.

  1. Replies
    1
    Views
    748

    toString on ArrayList is not working :(

    I've tried to for() my ArrayList with @Override toString in my Tournament Class and trying to make a simple SOUT in another Class .get(0). Unfortunately the toString doesn't work and I'm just getting...
  2. Need help to setup matches in this knockout tournament

    I'm currently working on a knock-out tournament

    Overall Requirements:
    -UserInput for 8 teams (teamName and playerNames) stored in a file (MY test is currently with 2 teams)
    -Setup for matches...
  3. Need help to setup matches in this knockout tournament

    I'm currently working on a knock-out tournament

    Overall Requirements:
    -UserInput for 8 teams (teamName and playerNames) stored in a file (MY test is currently with 2 teams)
    -Setup for matches...
  4. Tournament issue - I'm stuck and need a push in the right direction

    I'm currently working on a knock-out tournament

    Requirements:
    -UserInput for 8 teams (teamName and playerNames) stored in a file (MY test is currently with 2 teams)
    -Setup for matches (who vs....
  5. [SOLVED] Re: How to make a team with min. 2 max 5 players with Objects and Arraylist?

    I found a solution to the issue. Thank you very much for your time and help along the way....

    int numPlayersPerTeam = Integer.parseInt(readUserInput("Hvor mange spillere er der på holdet?"));
    ...
  6. How do I skip the ''header'' (first line) in BufferedReader?

    I need to skip my very first line from the txt file, but I can't seem to find any solution to this as I only want my team names :P

    My file is currently:

    teamName, teamPlayers
    teamA, 1, 2, 3, 4...
  7. [SOLVED] Re: How to make a team with min. 2 max 5 players with Objects and Arraylist?

    Thank you very much, your reply lead me in a new direction.
    - Unfortunately I now have a different problem, maybe you can see the fix to it.

    It is repeating my Player Name: twice before I'm...
  8. [SOLVED] Re: How to make a team with min. 2 max 5 players with Objects and Arraylist?

    I hear what you are saying, but I can't really see it... Might be because I'm a beginner, but even though I use a for each I will just run through the Array but where is the link between team and its...
  9. [SOLVED] Re: How to make a team with min. 2 max 5 players with Objects and Arraylist?

    Okay, but how do I link the two together?

    So when I have my ArrayList with teams it knows that Team1 has Jens, Julia and Peter has its players
  10. [SOLVED] How to make a team with min. 2 max 5 players with Objects and Arraylist?

    SOLVED
Results 1 to 10 of 10