Package com.bugyal.imentor.server.data

Examples of com.bugyal.imentor.server.data.Location


          + (System.currentTimeMillis() - temp));

      if (pi == null) {
        return response;
      }
      Location location = new Location(pi.getLocation().getLat(), pi
          .getLocation().getLon(), pi.getLoc().getLocationString(),
          pi.getLoc().getActiveRadius());

      temp = System.currentTimeMillis();
      List<Participant> participants = pm
View Full Code Here


  // 17.535368,78.222656, 17.264105,78.717041
  // 31.989442,72.949219, 7.406048,87.758789

  private Location getRandomLocation() {
    Location location = new Location(nextDouble(17.26, 17.53, r),
        nextDouble(78.22, 78.72, r), rs.nextString(), r.nextInt(100));
    // For more spread data (most of india)
    // Location location = new Location(nextDouble(7.4, 32.0, r),
    // nextDouble(72.95, 87.75, r), rs.nextString(), r.nextInt(100));
    return location;
View Full Code Here

TOP

Related Classes of com.bugyal.imentor.server.data.Location

Copyright © 2018 www.massapicom. 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.