org.apache.geode.cache.query.data

## Class City

- java.lang.Object
- - org.apache.geode.cache.query.data.City

- All Implemented Interfaces:
    java.io.Serializable

      public class City
      extends java.lang.Object
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.lang.String` | `name`
    `int` | `zip`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `City(int i)`
    `City(java.lang.String name, int zip)` Creates a new instance of City

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()`
    `int` | `getZip()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### name

          public java.lang.String name

    - #### zip

          public int zip

  - ### Constructor Detail

    - #### City

          public City(java.lang.String name,
                      int zip)

      Creates a new instance of City

    - #### City

          public City(int i)

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

    - #### getZip

          public int getZip()