OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Currency
(Results
1 - 21
of
21
) sorted by null
/libcore/luni/src/main/java/java/util/
Currency.java
25
* A
currency
corresponding to an <a href="http://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a>
26
*
currency
code such as "EUR" or "USD".
28
public final class
Currency
implements Serializable {
31
private static final HashMap<String,
Currency
> codesToCurrencies = new HashMap<String,
Currency
>();
32
private static final HashMap<Locale,
Currency
> localesToCurrencies = new HashMap<Locale,
Currency
>();
36
private
Currency
(String currencyCode) {
40
throw new IllegalArgumentException("Unsupported ISO 4217
currency
code: " +
46
* Returns the {@code
Currency
} instance for the given ISO 4217 currency code
52
Currency
currency
= codesToCurrencies.get(
currency
Code);
local
71
Currency
currency
= localesToCurrencies.get(locale);
local
[
all
...]
/external/guava/guava-tests/test/com/google/common/collect/
EnumBiMapTest.java
39
private enum
Currency
{ DOLLAR, FRANC, PESO }
43
EnumBiMap<
Currency
, Country> bimap =
44
EnumBiMap.create(
Currency
.class, Country.class);
48
bimap.put(
Currency
.DOLLAR, Country.CANADA);
49
assertEquals(Country.CANADA, bimap.get(
Currency
.DOLLAR));
50
assertEquals(
Currency
.DOLLAR, bimap.inverse().get(Country.CANADA));
55
Map<
Currency
, Country> map = ImmutableMap.of(
56
Currency
.DOLLAR, Country.CANADA,
57
Currency
.PESO, Country.CHILE,
58
Currency
.FRANC, Country.SWITZERLAND)
[
all
...]
EnumHashBiMapTest.java
36
private enum
Currency
{ DOLLAR, PESO, FRANC }
40
EnumHashBiMap<
Currency
, String> bimap =
41
EnumHashBiMap.create(
Currency
.class);
45
bimap.put(
Currency
.DOLLAR, "dollar");
46
assertEquals("dollar", bimap.get(
Currency
.DOLLAR));
47
assertEquals(
Currency
.DOLLAR, bimap.inverse().get("dollar"));
52
Map<
Currency
, String> map = ImmutableMap.of(
53
Currency
.DOLLAR, "dollar",
54
Currency
.PESO, "peso",
55
Currency
.FRANC, "franc")
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar
/prebuilts/misc/common/icu4j/
icu4j.jar
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar
/external/chromium_org/third_party/libaddressinput/src/java/
android.jar
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/20/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/9/
android.jar
/prebuilts/tools/common/api-versions/android-1/
android.jar
/prebuilts/tools/common/api-versions/android-2/
android.jar
/prebuilts/tools/common/api-versions/android-3/
android.jar
Completed in 163 milliseconds