geo.google.mapping
Class PointToCoordinateFunctor
java.lang.Object
geo.google.mapping.PointToCoordinateFunctor
- All Implemented Interfaces:
- Functor<GeoCoordinate,PointType,GeoException>
public final class PointToCoordinateFunctor
- extends Object
- implements Functor<GeoCoordinate,PointType,GeoException>
Mapping function that maps a PointType
object to a GeoCoordinate
object.
- Author:
- jliang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointToCoordinateFunctor
public PointToCoordinateFunctor()
getInstance
public static PointToCoordinateFunctor getInstance()
execute
public GeoCoordinate execute(PointType point)
throws GeoException
- Specified by:
execute
in interface Functor<GeoCoordinate,PointType,GeoException>
- Throws:
GeoException
Copyright © 2008. All Rights Reserved.