B C D E F G H I L N O P R S T V W

B

bitsToDouble(BitSet, BigDecimal[]) - Static method in class com.javadocmd.simplelatlng.Geohasher
Converts the set of bits representing a single value to double.
bitsToHash(BitSet) - Static method in class com.javadocmd.simplelatlng.Geohasher
Encodes an interleaved set of bits to its base-32 geohash.

C

CircularWindow - Class in com.javadocmd.simplelatlng.window
A circular window.
CircularWindow(LatLng, double) - Constructor for class com.javadocmd.simplelatlng.window.CircularWindow
Constructs a circular window.
CircularWindow(LatLng, double, LengthUnit) - Constructor for class com.javadocmd.simplelatlng.window.CircularWindow
Constructs a circular window that will contain all points within the specified radius.
com.javadocmd.simplelatlng - package com.javadocmd.simplelatlng
The base package for latitude and longitude utilities offered by SimpleLatLng.
com.javadocmd.simplelatlng.util - package com.javadocmd.simplelatlng.util
Utility classes and configuration for SimpleLatLng operation.
com.javadocmd.simplelatlng.window - package com.javadocmd.simplelatlng.window
A package allowing calculations on windows of latitude and longitude.
compare(SortWrapper<E>, SortWrapper<E>) - Method in class com.javadocmd.simplelatlng.window.SortWrapper.DistanceComparator
 
contains(LatLng) - Method in class com.javadocmd.simplelatlng.window.CircularWindow
 
contains(LatLng) - Method in class com.javadocmd.simplelatlng.window.LatLngWindow
Tests to see if the given point falls within this window.
contains(LatLng) - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
convertTo(LengthUnit, double) - Method in enum com.javadocmd.simplelatlng.util.LengthUnit
Convert a value of this unit type to the units specified in the parameters.
crosses180thMeridian() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
If this window spans the 180 degree longitude meridian, this method returns true.

D

decode(String) - Static method in class com.javadocmd.simplelatlng.Geohasher
Decodes a geohash string to its LatLng equivalent.
DEGREE_TOLERANCE - Static variable in class com.javadocmd.simplelatlng.util.LatLngConfig
The tolerance (in degrees) by which two angles can differ and still be considered the same.
degreesEqual(double, double) - Static method in class com.javadocmd.simplelatlng.LatLng
Tests whether two angles fall within the tolerance allowed in LatLngConfig.
deInterleave(BitSet) - Static method in class com.javadocmd.simplelatlng.Geohasher
De-interleaves a series of bits.
distance(LatLng, LatLng, LengthUnit) - Static method in class com.javadocmd.simplelatlng.LatLngTool
Distance between two points.
distanceInRadians(LatLng, LatLng) - Static method in class com.javadocmd.simplelatlng.LatLngTool
This "distance" function is mostly for internal use.
doubleToBits(double, double) - Static method in class com.javadocmd.simplelatlng.Geohasher
Converts a double value to its bit representation in the geohash specification.
doubleToLong(double) - Static method in class com.javadocmd.simplelatlng.util.LatLngConfig
Function used to convert an angle in degrees to its internal, fixed-precision long representation.

E

EARTH_MEAN_RADIUS_KILOMETERS - Static variable in class com.javadocmd.simplelatlng.util.LatLngConfig
The Earth's mean radius in kilometers.
EAST - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 
equals(Object) - Method in class com.javadocmd.simplelatlng.LatLng
 

F

filter(Collection<E>, FilterHelper<E>) - Method in class com.javadocmd.simplelatlng.window.LatLngWindow
Goes through the given collection removing items whose LatLng point does not fall within this window.
filterCopy(Collection<E>, Collection<E>, FilterHelper<E>) - Method in class com.javadocmd.simplelatlng.window.LatLngWindow
Goes through the source collection copying items whose LatLng point falls within this window to the destination collection.
filterCopySort(Collection<E>, Collection<E>, FilterHelper<E>) - Method in class com.javadocmd.simplelatlng.window.CircularWindow
A specialized extension of LatLngWindow.filterCopy(Collection, Collection, FilterHelper) which returns the filtered results in sorted order from the center of the window.
FilterHelper<S> - Class in com.javadocmd.simplelatlng.window
An abstract class to help LatLngWindows with the task of filtering collections based on whether or not a point is contained within the window.
FilterHelper() - Constructor for class com.javadocmd.simplelatlng.window.FilterHelper
 
flip(int) - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 
flip(int, int) - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 

G

Geohasher - Class in com.javadocmd.simplelatlng
Implements the Geohash algorithm for hashing latitude and longitude points.
Geohasher() - Constructor for class com.javadocmd.simplelatlng.Geohasher
 
Geohasher.BitStore - Class in com.javadocmd.simplelatlng
Specialization of BitSet to actually keep track of the number of bits that are being usefully employed, regardless of whether or not they are 1 or 0.
Geohasher.BitStore() - Constructor for class com.javadocmd.simplelatlng.Geohasher.BitStore
 
getCenter() - Method in class com.javadocmd.simplelatlng.window.CircularWindow
 
getCenter() - Method in class com.javadocmd.simplelatlng.window.LatLngWindow
Returns the center point of the window.
getCenter() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
getDegreeFormat() - Static method in class com.javadocmd.simplelatlng.util.LatLngConfig
Retrieve a NumberFormatter to use for formatting coordinates to String.
getDistance() - Method in class com.javadocmd.simplelatlng.window.SortWrapper
 
getEarthRadius(LengthUnit) - Static method in class com.javadocmd.simplelatlng.util.LatLngConfig
Retrieve the Earth's spherical approximation radius in the desired unit.
getHeight(LengthUnit) - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
Returns the height of the window.
getLatitude() - Method in class com.javadocmd.simplelatlng.LatLng
Get latitude for this point in degrees.
getLatitudeDelta() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
getLatitudeInternal() - Method in class com.javadocmd.simplelatlng.LatLng
Get the internal long representation of this point's latitude in degrees.
getLatLng(S) - Method in class com.javadocmd.simplelatlng.window.FilterHelper
Returns object's LatLng value to be filtered.
getLeftLongitude() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
getLongitude() - Method in class com.javadocmd.simplelatlng.LatLng
Get longitude for this point in degrees.
getLongitudeDelta() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
getLongitudeInternal() - Method in class com.javadocmd.simplelatlng.LatLng
Get the internal long representation of this point's longitude in degrees.
getMaxLatitude() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
getMinLatitude() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
getRadius() - Method in class com.javadocmd.simplelatlng.window.CircularWindow
Gets the radius of this window in degrees.
getRadius(LengthUnit) - Method in class com.javadocmd.simplelatlng.window.CircularWindow
Gets the radius of this window in a length unit.
getRightLongitude() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
getScaleFactor() - Method in enum com.javadocmd.simplelatlng.util.LengthUnit
Retrieve the scale factor between this unit and the primary length unit.
getValue() - Method in class com.javadocmd.simplelatlng.window.SortWrapper
 
getWidth(LengthUnit) - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
Returns the width at the mid-line of the window.

H

hash(LatLng) - Static method in class com.javadocmd.simplelatlng.Geohasher
Geohashes a latitude and longitude.
hashCode() - Method in class com.javadocmd.simplelatlng.LatLng
 
hashToBits(String) - Static method in class com.javadocmd.simplelatlng.Geohasher
Converts a hash string into a string of bits.

I

initialBearing(LatLng, LatLng) - Static method in class com.javadocmd.simplelatlng.LatLngTool
Calculate the initial bearing in degrees on a great-circle course from one point to another.
initialBearingInRadians(LatLng, LatLng) - Static method in class com.javadocmd.simplelatlng.LatLngTool
Calculate the initial bearing in radians on a great-circle course from one point to another.
interleave(BitSet, BitSet) - Static method in class com.javadocmd.simplelatlng.Geohasher
Interleaves two sets of bits.
isPolar() - Method in class com.javadocmd.simplelatlng.LatLng
Returns true if this LatLng represents a polar coordinate (+/- 90 degrees latitude).

L

LAT_BIT_VALUES - Static variable in class com.javadocmd.simplelatlng.Geohasher
 
latitudeDeltaToLength(double, LengthUnit) - Static method in class com.javadocmd.simplelatlng.window.LatLngWindow
Converts a latitude degree arc to the length of that arc.
LatLng - Class in com.javadocmd.simplelatlng
A representation of a single point in latitude and longitude.
LatLng(double, double) - Constructor for class com.javadocmd.simplelatlng.LatLng
Creates a LatLng point.
LatLngConfig - Class in com.javadocmd.simplelatlng.util
Configuration parameters for latitude and longitude calculations.
LatLngTool - Class in com.javadocmd.simplelatlng
Primary calculations and tools.
LatLngTool.Bearing - Class in com.javadocmd.simplelatlng
Convenient static values for bearings.
LatLngWindow<T extends LatLngWindow<T>> - Class in com.javadocmd.simplelatlng.window
An interface specifying a region in the latitude/longitude space.
LatLngWindow() - Constructor for class com.javadocmd.simplelatlng.window.LatLngWindow
 
lengthToLatitudeDelta(double, LengthUnit) - Static method in class com.javadocmd.simplelatlng.window.LatLngWindow
Converts a length measurement into the latitude that that length spans.
lengthToLongitudeDelta(double, LengthUnit, double) - Static method in class com.javadocmd.simplelatlng.window.LatLngWindow
Converts a length measurement into the longitude that that length spans at the given latitude.
LengthUnit - Enum in com.javadocmd.simplelatlng.util
A utility class for handling units and unit conversions within this library.
LNG_BIT_VALUES - Static variable in class com.javadocmd.simplelatlng.Geohasher
 
longitudeDeltaToLength(double, LengthUnit, double) - Static method in class com.javadocmd.simplelatlng.window.LatLngWindow
Converts a longitude degree arc at a specific latitude to the length of the arc.
longToDouble(long) - Static method in class com.javadocmd.simplelatlng.util.LatLngConfig
Function used to convert an angle in degrees to its external double representation.

N

normalizeBearing(double) - Static method in class com.javadocmd.simplelatlng.LatLngTool
Convert a bearing to be within the 0 to +360 degrees range.
normalizeLatitude(double) - Static method in class com.javadocmd.simplelatlng.LatLngTool
Clamp latitude to +/- 90 degrees.
normalizeLongitude(double) - Static method in class com.javadocmd.simplelatlng.LatLngTool
Convert longitude to be within the +/- 180 degrees range.
NORTH - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 
NORTH_EAST - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 
NORTH_WEST - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 

O

overlaps(CircularWindow) - Method in class com.javadocmd.simplelatlng.window.CircularWindow
 
overlaps(T) - Method in class com.javadocmd.simplelatlng.window.LatLngWindow
Test if this window overlaps the given window.
overlaps(RectangularWindow) - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 

P

PRECISION - Static variable in class com.javadocmd.simplelatlng.Geohasher
Number of hash characters supported.
PRIMARY - Static variable in enum com.javadocmd.simplelatlng.util.LengthUnit
The primary length unit.

R

random() - Static method in class com.javadocmd.simplelatlng.LatLng
Creates a random latitude and longitude.
random(Random) - Static method in class com.javadocmd.simplelatlng.LatLng
Creates a random latitude and longitude.
RectangularWindow - Class in com.javadocmd.simplelatlng.window
A "pseudo-rectangular" window bounded by a minimum and maximum latitude and a minimum and maximum longitude.
RectangularWindow(LatLng, double, double) - Constructor for class com.javadocmd.simplelatlng.window.RectangularWindow
Creates a pseudo-rectangular window.
RectangularWindow(LatLng, LatLng) - Constructor for class com.javadocmd.simplelatlng.window.RectangularWindow
Creates a pseudo-rectangular window.
RectangularWindow(LatLng, double, double, LengthUnit) - Constructor for class com.javadocmd.simplelatlng.window.RectangularWindow
Creates a psuedo-rectangular window.
RectangularWindow(LatLng, double, LengthUnit) - Constructor for class com.javadocmd.simplelatlng.window.RectangularWindow
Creates a psuedo-square window.

S

set(int) - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 
set(int, boolean) - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 
set(int, int) - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 
set(int, int, boolean) - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 
setCenter(LatLng) - Method in class com.javadocmd.simplelatlng.window.CircularWindow
Sets the center of this window.
setDegreeFormat(ThreadLocal<NumberFormat>) - Static method in class com.javadocmd.simplelatlng.util.LatLngConfig
Sets the NumberFormatter to use for the purposes of all future coordinate formatting in this library.
setEarthRadius(double, LengthUnit) - Static method in class com.javadocmd.simplelatlng.util.LatLngConfig
Sets the Earth's radius for the purposes of all future calculations in this library.
setLatitudeLongitude(double, double) - Method in class com.javadocmd.simplelatlng.LatLng
Sets the latitude and longitude for this point.
setRadius(double) - Method in class com.javadocmd.simplelatlng.window.CircularWindow
Sets the radius of this window.
setWindow(LatLng, double, double) - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
Sets the bounds of this window.
size() - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 
SortWrapper<E> - Class in com.javadocmd.simplelatlng.window
This class wraps another class in order to attach a distance value to it.
SortWrapper(E, double) - Constructor for class com.javadocmd.simplelatlng.window.SortWrapper
 
SortWrapper.DistanceComparator<E> - Class in com.javadocmd.simplelatlng.window
Compares SortWrappers by their associated distance value.
SortWrapper.DistanceComparator() - Constructor for class com.javadocmd.simplelatlng.window.SortWrapper.DistanceComparator
 
SOUTH - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 
SOUTH_EAST - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 
SOUTH_WEST - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 

T

toString() - Method in class com.javadocmd.simplelatlng.Geohasher.BitStore
 
toString() - Method in class com.javadocmd.simplelatlng.LatLng
 
toString() - Method in class com.javadocmd.simplelatlng.window.CircularWindow
 
toString() - Method in class com.javadocmd.simplelatlng.window.RectangularWindow
 
travel(LatLng, double, double, LengthUnit) - Static method in class com.javadocmd.simplelatlng.LatLngTool
Calculate the end point of traveling along a great-circle path from a given starting point with a given intitial bearing for a known distance.

V

valueOf(String) - Static method in enum com.javadocmd.simplelatlng.util.LengthUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.javadocmd.simplelatlng.util.LengthUnit
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEST - Static variable in class com.javadocmd.simplelatlng.LatLngTool.Bearing
 

B C D E F G H I L N O P R S T V W

Copyright © 2010-2013. All Rights Reserved.