winterwell.jtwitter
Class Place.LatLong

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<java.lang.Double>
          extended by winterwell.jtwitter.Place.LatLong
All Implemented Interfaces:
java.lang.Iterable<java.lang.Double>, java.util.Collection<java.lang.Double>, java.util.List<java.lang.Double>
Enclosing class:
Place

public static final class Place.LatLong
extends java.util.AbstractList<java.lang.Double>

A latitude-longitude coordinate.


Field Summary
 double latitude
           
 double longitude
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Place.LatLong(double latitude, double longitude)
           
 
Method Summary
 java.lang.Double get(int index)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Field Detail

latitude

public final double latitude

longitude

public final double longitude
Constructor Detail

Place.LatLong

public Place.LatLong(double latitude,
                     double longitude)
Method Detail

get

public java.lang.Double get(int index)
Specified by:
get in interface java.util.List<java.lang.Double>
Specified by:
get in class java.util.AbstractList<java.lang.Double>

size

public int size()
Specified by:
size in interface java.util.Collection<java.lang.Double>
Specified by:
size in interface java.util.List<java.lang.Double>
Specified by:
size in class java.util.AbstractCollection<java.lang.Double>