Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java9 import java.util.EnumMap;
462 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap; in getAbsoluteUnitString()
463 EnumMap<Direction, String> dirMap; in getAbsoluteUnitString()
545 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatter()
546 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, in RelativeDateTimeFormatter()
584 EnumMap<RelativeUnit, String[][]> unitMap = patternMap.get(style); in getRelativeUnitPattern()
601 …private final EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap;
602 private final EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap;
619EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatterData()
620 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> relUnitPatternMap, in RelativeDateTimeFormatterData()
[all …]
DMeasureFormat.java24 import java.util.EnumMap;
754 EnumMap<FormatWidth, String[]> styleToPatterns = in setFormatterIfAbsent()
758 new EnumMap<FormatWidth, String[]>(FormatWidth.class); in setFormatterIfAbsent()
1064 final Map<MeasureUnit, EnumMap<FormatWidth, String[]>> unitToStyleToPatterns =
1065 new HashMap<MeasureUnit, EnumMap<FormatWidth, String[]>>();
1066 final EnumMap<FormatWidth, String> styleToPerPattern =
1067 new EnumMap<FormatWidth, String>(FormatWidth.class);;
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java10 import java.util.EnumMap;
421 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap; in getAbsoluteUnitString()
422 EnumMap<Direction, String> dirMap; in getAbsoluteUnitString()
498 EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatter()
499 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap, in RelativeDateTimeFormatter()
537 EnumMap<RelativeUnit, String[][]> unitMap = patternMap.get(style); in getRelativeUnitPattern()
554 …private final EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap;
555 private final EnumMap<Style, EnumMap<RelativeUnit, String[][]>> patternMap;
572EnumMap<Style, EnumMap<AbsoluteUnit, EnumMap<Direction, String>>> qualitativeUnitMap, in RelativeDateTimeFormatterData()
573 EnumMap<Style, EnumMap<RelativeUnit, String[][]>> relUnitPatternMap, in RelativeDateTimeFormatterData()
[all …]
DMeasureFormat.java25 import java.util.EnumMap;
727 EnumMap<FormatWidth, String[]> styleToPatterns = in setFormatterIfAbsent()
731 new EnumMap<FormatWidth, String[]>(FormatWidth.class); in setFormatterIfAbsent()
1037 final Map<MeasureUnit, EnumMap<FormatWidth, String[]>> unitToStyleToPatterns =
1038 new HashMap<MeasureUnit, EnumMap<FormatWidth, String[]>>();
1039 final EnumMap<FormatWidth, String> styleToPerPattern =
1040 new EnumMap<FormatWidth, String>(FormatWidth.class);;
/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()
DMultimapBuilder.java30 import java.util.EnumMap;
185 return (Map<K, Collection<V>>) new EnumMap<K0, Collection<V>>(keyClass);
/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/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()
DEnumMultiset.java21 import java.util.EnumMap;
75 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in EnumMultiset()
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()
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;
50 @Nonnull private final EnumMap<Opcode, Short> opcodeValues;
87 opcodeValues = new EnumMap<Opcode, Short>(Opcode.class); in Opcodes()
/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/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationElement.java28 import java.util.EnumMap;
75 Map<Attribute, Object> attribs = new EnumMap<Attribute, Object>(Attribute.class); in UiAutomationElement()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DEnumTest.java20 import java.util.EnumMap;
96 Map<Suit, Integer> map = new EnumMap<Suit, Integer>(Suit.class); in testDumpEnumMap2()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DViewElement.java29 import java.util.EnumMap;
51 final Map<Attribute, Object> attribs = new EnumMap<Attribute, Object>(Attribute.class);
/external/vogar/src/vogar/
DExpectationStore.java27 import java.util.EnumMap;
239 Map<ModeId, Set<Variant>> result = new EnumMap<ModeId, Set<Variant>>(ModeId.class); in readModesAndVariants()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DCssFuzzerTest.java32 import java.util.EnumMap;
174 private static final EnumMap<CssTokens.TokenType, Pattern> TOKEN_TYPE_FILTERS
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForMapsInJavaUtil.java31 import java.util.EnumMap;
233 new EnumMap<AnEnum, String>(AnEnum.class), entries);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableMapTest.java32 import java.util.EnumMap;
493 EnumMap<AnEnum, String> map = new EnumMap<AnEnum, String>(AnEnum.class); in testCopyOfEnumMap()

12