Index
All Classes and Interfaces|All Packages
B
- build() - Method in class w.geo.api.ImmutableCountry.Builder
-
Builds a new
ImmutableCountry. - build() - Method in class w.geo.api.ImmutableGeoLocation.Builder
-
Builds a new
ImmutableGeoLocation. - builder() - Static method in class w.geo.api.ImmutableCountry
-
Creates a builder for
ImmutableCountry. - builder() - Static method in class w.geo.api.ImmutableGeoLocation
-
Creates a builder for
ImmutableGeoLocation.
C
- city(String) - Method in class w.geo.api.ImmutableGeoLocation.Builder
-
Initializes the value for the
cityattribute. - copyOf(Country) - Static method in class w.geo.api.ImmutableCountry
-
Creates an immutable copy of a
Countryvalue. - copyOf(GeoLocation) - Static method in class w.geo.api.ImmutableGeoLocation
-
Creates an immutable copy of a
GeoLocationvalue. - country(Country) - Method in class w.geo.api.ImmutableGeoLocation.Builder
-
Initializes the value for the
countryattribute. - Country - Interface in w.geo.api
E
- equals(Object) - Method in class w.geo.api.ImmutableCountry
-
This instance is equal to all instances of
ImmutableCountrythat have equal attribute values. - equals(Object) - Method in class w.geo.api.ImmutableGeoLocation
-
This instance is equal to all instances of
ImmutableGeoLocationthat have equal attribute values.
F
- from(Country) - Method in class w.geo.api.ImmutableCountry.Builder
-
Fill a builder with attribute values from the provided
Countryinstance. - from(GeoLocation) - Method in class w.geo.api.ImmutableGeoLocation.Builder
-
Fill a builder with attribute values from the provided
GeoLocationinstance.
G
- GeoLocation - Interface in w.geo.api
- GeoLocationManager - Interface in w.geo.api
- getCity() - Method in interface w.geo.api.GeoLocation
- getCity() - Method in class w.geo.api.ImmutableGeoLocation
- getCity() - Method in class w.geo.api.UnknownGeoLocation
- getCountry() - Method in interface w.geo.api.GeoLocation
- getCountry() - Method in class w.geo.api.ImmutableGeoLocation
- getCountry() - Method in class w.geo.api.UnknownGeoLocation
- getIsoCode() - Method in interface w.geo.api.Country
- getIsoCode() - Method in class w.geo.api.ImmutableCountry
- getName() - Method in interface w.geo.api.Country
- getName() - Method in class w.geo.api.ImmutableCountry
H
- hashCode() - Method in class w.geo.api.ImmutableCountry
-
Computes a hash code from attributes:
name,isoCode. - hashCode() - Method in class w.geo.api.ImmutableGeoLocation
-
Computes a hash code from attributes:
city,country.
I
- ImmutableCountry - Class in w.geo.api
-
Immutable implementation of
Country. - ImmutableCountry.Builder - Class in w.geo.api
-
Builds instances of type
ImmutableCountry. - ImmutableGeoLocation - Class in w.geo.api
-
Immutable implementation of
GeoLocation. - ImmutableGeoLocation.Builder - Class in w.geo.api
-
Builds instances of type
ImmutableGeoLocation. - INSTANCE - Static variable in class w.geo.api.UnknownGeoLocation
- isoCode(String) - Method in class w.geo.api.ImmutableCountry.Builder
-
Initializes the value for the
isoCodeattribute.
L
- lookup(InetAddress) - Method in interface w.geo.api.GeoLocationManager
N
- name(String) - Method in class w.geo.api.ImmutableCountry.Builder
-
Initializes the value for the
nameattribute.
T
- toString() - Method in class w.geo.api.ImmutableCountry
-
Prints the immutable value
Countrywith attribute values. - toString() - Method in class w.geo.api.ImmutableGeoLocation
-
Prints the immutable value
GeoLocationwith attribute values. - toString() - Method in class w.geo.api.UnknownGeoLocation
U
- UnknownGeoLocation - Class in w.geo.api
- UnknownGeoLocation() - Constructor for class w.geo.api.UnknownGeoLocation
W
- w.geo.api - package w.geo.api
- withCity(String) - Method in class w.geo.api.ImmutableGeoLocation
-
Copy the current immutable object by setting a value for the
cityattribute. - withCountry(Country) - Method in class w.geo.api.ImmutableGeoLocation
-
Copy the current immutable object by setting a value for the
countryattribute. - withIsoCode(String) - Method in class w.geo.api.ImmutableCountry
-
Copy the current immutable object by setting a value for the
isoCodeattribute. - withName(String) - Method in class w.geo.api.ImmutableCountry
-
Copy the current immutable object by setting a value for the
nameattribute.
All Classes and Interfaces|All Packages