Examples of City


Examples of org.zeroexchange.model.location.City

    @Override
    protected void onBeforeRender() {
        Location location = getModelObject();
        if(location != null) {
            City city = location.getCity();
            if(city != null) {
                Country country = city.getCountry();
                if(country != null) {
                    countryChoice.setModelObject(country);
                    cityChoice.setChoices(getCities(country));
                    cityChoice.setModelObject(city);
                }
View Full Code Here

Examples of sample.data.jpa.domain.City

    assertThat(cities.getTotalElements(), is(greaterThan(20L)));
  }

  @Test
  public void findByNameAndCountry() {
    City city = this.repository.findByNameAndCountryAllIgnoringCase("Melbourne",
        "Australia");
    assertThat(city, notNullValue());
    assertThat(city.getName(), is(equalTo("Melbourne")));
  }
View Full Code Here

Examples of wolf.city.City

  public LCPanel(){
    roads = new LinkedList<Road>();
    testRoad = new Road(new Intersection(new Coordinate(10,100)),new Intersection(new Coordinate(400,400)), RoadType.HIGHWAY, null);
    roads.add(new Road(new Intersection(new Coordinate(100,10)),new Intersection(new Coordinate(400,300)), RoadType.HIGHWAY, null));
    roads.add(new Road(new Intersection(new Coordinate(50,25)),new Intersection(new Coordinate(400,200)), RoadType.HIGHWAY, null));
    c = new City(windowHeight*4, windowHeight*4, 0);
    rm = new Roadmap(c);
    for(Road r: roads){
      rm.roads.insert(r.getEnvelope(), r);
    }
   
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.