Android Open Source - final_year_frontend Tournament Factory

From Project

Back to project page final_year_frontend.


The source code is released under:

MIT License

If you think the Android project final_year_frontend listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.james.erebus.core;
/*ww w.  j  ava  2 s . c  o m*/
public abstract class TournamentFactory {
  /*public static Tournament createTournamentFromJson(String[] tournamentFields)
    if(tournamentFields.length != 9)
      throw new IllegalStateException("Incorrect number of tournament fields in array from Json object");
      return new Tournament(tournamentFields[0], tournamentFields[1], tournamentFields[2], 
          tournamentFields[3], tournamentFields[4], tournamentFields[5], tournamentFields[6], 
          tournamentFields[7], tournamentFields[8]);


Java Source Code List