Examples of IPunchObject


Examples of org.martin.sireader.server.IPunchObject

   * @param punches
   */
  private void handlePunches(RunnerRaceData runnerData, ArrayList<PunchObject> punchArray) {
    Punch[] punches = new Punch[punchArray.size()];
    for(int i=0; i< punches.length; i++) {
      IPunchObject punchObject = punchArray.get(i);
      punches[i] = factory().createPunch();
      punches[i].setCode(punchObject.getCode());
      punches[i].setTime(new Date(punchObject.getTime()));
    }
    runnerData.setPunches(punches);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.