Package mil.nga.mgrs.gzd
Class BandLetterRange
- java.lang.Object
-
- mil.nga.mgrs.gzd.BandLetterRange
-
-
Constructor Summary
Constructors Constructor Description BandLetterRange()Constructor, full rangeBandLetterRange(char south, char north)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description chargetNorth()Get the northern band letterdoublegetNorthLatitude()Get the northern latitudechargetSouth()Get the southern band letterdoublegetSouthLatitude()Get the southern latitudeIterator<Character>iterator()voidsetNorth(char north)Set the northern band lettervoidsetSouth(char south)Set the southern band letter-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getSouth
public char getSouth()
Get the southern band letter- Returns:
- southern band letter
-
setSouth
public void setSouth(char south)
Set the southern band letter- Parameters:
south- southern band letter
-
getNorth
public char getNorth()
Get the northern band letter- Returns:
- northern band letter
-
setNorth
public void setNorth(char north)
Set the northern band letter- Parameters:
north- northern band letter
-
getSouthLatitude
public double getSouthLatitude()
Get the southern latitude- Returns:
- latitude
-
getNorthLatitude
public double getNorthLatitude()
Get the northern latitude- Returns:
- latitude
-
-