geo.google.mapping
Class PointToCoordinateFunctor

java.lang.Object
  extended by 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

Constructor Summary
PointToCoordinateFunctor()
           
 
Method Summary
 GeoCoordinate execute(PointType point)
           
static PointToCoordinateFunctor getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointToCoordinateFunctor

public PointToCoordinateFunctor()
Method Detail

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.