com.isti.util.gis
Class LocationDistance.LocationInfoBlk

java.lang.Object
  extended by com.isti.util.gis.LocationDistance.LocationInfoBlk
Enclosing class:
LocationDistance

public static class LocationDistance.LocationInfoBlk
extends java.lang.Object

Class LocationInfoBlk contains information for a point location.


Field Summary
 float latVal
           
 float lonVal
           
 java.lang.String nameStr
           
 
Constructor Summary
LocationDistance.LocationInfoBlk(float latVal, float lonVal, java.lang.String nameStr)
          Creates a point-location information block.
 
Method Summary
 java.lang.String getKeyString()
          Returns a "key" string version of the location information.
 java.lang.String toString()
          Returns a string version of the location information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

latVal

public final float latVal

lonVal

public final float lonVal

nameStr

public final java.lang.String nameStr
Constructor Detail

LocationDistance.LocationInfoBlk

public LocationDistance.LocationInfoBlk(float latVal,
                                        float lonVal,
                                        java.lang.String nameStr)
Creates a point-location information block.

Parameters:
latVal - the latitude value to use.
lonVal - the longitude value to use.
nameStr - the name string to use.
Method Detail

toString

public java.lang.String toString()
Returns a string version of the location information.

Overrides:
toString in class java.lang.Object
Returns:
A string version of the location information.

getKeyString

public java.lang.String getKeyString()
Returns a "key" string version of the location information. Any "accented" characters in the name are replaced with their "unaccented" equivilants and the name character are made all lower case.

Returns:
A "key" string version of the location information.