Home
last modified time | relevance | path

Searched refs:EnumMap (Results 1 – 25 of 83) sorted by relevance

1234

/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java13 import java.util.EnumMap;
620 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap; in getAbsoluteUnitString()
621 EnumMap<Direction, String> dirMap; in getAbsoluteUnitString()
704 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatter()
705 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, in RelativeDateTimeFormatter()
743 EnumMap<RelativeUnit, String[][]> unitMap = patternMap.get(style); in getRelativeUnitPattern()
760 …private final EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap;
761 private final EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap;
779EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatterData()
780 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> relUnitPatternMap, in RelativeDateTimeFormatterData()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java12 import java.util.EnumMap;
679 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap; in getAbsoluteUnitString()
680 EnumMap<Direction, String> dirMap; in getAbsoluteUnitString()
767 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatter()
768 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, in RelativeDateTimeFormatter()
806 EnumMap<RelativeUnit, String[][]> unitMap = patternMap.get(style); in getRelativeUnitPattern()
823 …private final EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap;
824 private final EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap;
842EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatterData()
843 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> relUnitPatternMap, in RelativeDateTimeFormatterData()
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableEnumMap.java23 import java.util.EnumMap;
37 static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) { in asImmutable()
50 private transient final EnumMap<K, V> delegate;
52 private ImmutableEnumMap(EnumMap<K, V> delegate) { in ImmutableEnumMap()
142 final EnumMap<K, V> delegate;
143 EnumSerializedForm(EnumMap<K, V> delegate) {
DEnumBiMap.java28 import java.util.EnumMap;
79 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
80 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in EnumBiMap()
144 WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in readObject()
145 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in readObject()
DEnumMultiset.java25 import java.util.EnumMap;
79 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in EnumMultiset()
101 setBackingMap(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in readObject()
DEnumHashBiMap.java27 import java.util.EnumMap;
80 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
123 setDelegates(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in readObject()
DImmutableMap.java28 import java.util.EnumMap;
282 } else if (map instanceof EnumMap) { in copyOf()
301 return copyOfEnumMap((EnumMap) map); in copyOfEnumMapUnsafe()
306 EnumMap<K, V> copy = new EnumMap<K, V>(original); in copyOfEnumMap()
/external/guava/guava-tests/test/com/google/common/collect/
DWellBehavedMapTest.java23 import java.util.EnumMap;
35 new EnumMap<Foo, Integer>(Foo.class)); in testEntrySet_contain()
51 new EnumMap<Foo, Integer>(Foo.class)); in testEntry_setValue()
63 new EnumMap<Foo, Integer>(Foo.class)); in testEntriesAreMutableAndConsistent()
90 new EnumMap<Foo, Integer>(Foo.class)); in testEntrySet_remove()
/external/cldr/tools/java/org/unicode/cldr/util/
DPluralSnapshot.java5 import java.util.EnumMap;
129 …private static final EnumMap<PluralType, EnumMap<Integral, SnapshotInfo>> SINGLETONS = new EnumMap
132 SINGLETONS.put(PluralType.cardinal, new EnumMap<Integral, SnapshotInfo>(Integral.class)); in SINGLETONS.put()
133 SINGLETONS.put(PluralType.ordinal, new EnumMap<Integral, SnapshotInfo>(Integral.class)); in SINGLETONS.put()
138 EnumMap<Integral, SnapshotInfo> temp = SINGLETONS.get(pluralType); in getInstance()
DValidity.java5 import java.util.EnumMap;
50 Map<LstrType, Map<Status, Set<String>>> data = new EnumMap<>(LstrType.class); in Validity()
51 Map<LstrType, Map<String, Status>> codeToStatus = new EnumMap<>(LstrType.class); in Validity()
66 data.put(type, submap = new EnumMap<>(Status.class)); in Validity()
DDayPeriodsOld.java4 import java.util.EnumMap;
105 private DayPeriodsOld(ULocale base, DayPeriod[] map, EnumMap<DayPeriod, String> samples2) { in DayPeriodsOld()
115 …private void fix(DayPeriod[] map, EnumMap<DayPeriod, String> samples2, DayPeriod dayPeriod2, DayPe… in fix()
139 private final EnumMap<DayPeriod, String> samples = new EnumMap<>(DayPeriod.class);
DDayPeriods.java4 import java.util.EnumMap;
105 private DayPeriods(ULocale base, DayPeriod[] map, EnumMap<DayPeriod, String> samples2) { in DayPeriods()
115 …private void fix(DayPeriod[] map, EnumMap<DayPeriod, String> samples2, DayPeriod dayPeriod2, DayPe… in fix()
139 private final EnumMap<DayPeriod, String> samples = new EnumMap<>(DayPeriod.class);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumBiMap.java24 import java.util.EnumMap;
75 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
76 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in EnumBiMap()
DImmutableMap.java25 import java.util.EnumMap;
146 } else if (map instanceof EnumMap) { in copyOf()
147 EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map; in copyOf()
154 ImmutableMap<K, V> result = ImmutableEnumMap.asImmutable(new EnumMap(enumMap)); in copyOf()
DEnumMultiset.java21 import java.util.EnumMap;
75 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in EnumMultiset()
DEnumHashBiMap.java23 import java.util.EnumMap;
75 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
/external/vogar/test/vogar/testing/
DInterceptOutputStreams.java24 import java.util.EnumMap;
72 private final EnumMap<Stream, State> streams2State;
79 streams2State = new EnumMap<>(Stream.class); in InterceptOutputStreams()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcodes.java39 import java.util.EnumMap;
54 @Nonnull private final EnumMap<Opcode, Short> opcodeValues;
90 opcodeValues = new EnumMap<Opcode, Short>(Opcode.class); in Opcodes()
/external/cldr/tools/java/org/unicode/cldr/tool/
DPluralMinimalPairs.java3 import java.util.EnumMap;
20 …private Map<PluralType, Map<PluralInfo.Count, String>> typeToCountToSample = new EnumMap<>(PluralT…
73 typeToCountToSample.put(type, countToSample = new EnumMap<>(Count.class)); in put()
DShowCoverageLevels.java3 import java.util.EnumMap;
25 …Relation<Level, String> values = new Relation(new EnumMap<Level, String>(Level.class), TreeSet.cla… in main()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckLogicalGroupings.java3 import java.util.EnumMap;
118EnumMap<DraftStatus, PathHeader> draftStatuses = new EnumMap<DraftStatus, PathHeader>(DraftStatus.… in handleCheck()
DCasingInfo.java7 import java.util.EnumMap;
202 …Map<Category, CasingType> overrides = handler == null ? new EnumMap<Category, CasingType>(Category… in createCasingXml()
250 …private Map<Category, CasingTypeAndErrFlag> caseMap = new EnumMap<Category, CasingTypeAndErrFlag>(…
251 … private Map<Category, CasingType> overrideMap = new EnumMap<Category, CasingType>(Category.class);
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMapGenerators.java35 import java.util.EnumMap;
157 EnumMap<AnEnum, String> map = new EnumMap<AnEnum, String>(AnEnum.class); in create()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLongNameHandler.java5 import java.util.EnumMap;
178 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames()
207 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forMeasureUnit()
243 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCompoundUnit()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLongNameHandler.java6 import java.util.EnumMap;
182 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames()
211 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forMeasureUnit()
247 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCompoundUnit()

1234