 <p>Yes, a class like</p> <pre><code>public Geo { private double lat; private double lon; } </code></pre> <p>is sufficient to store a geographical location. You might want to add setter method to make sure, that lat, lon are always in a valid range, otherwise a Geo object might have an invalid state.</p>