/libcore/luni/src/main/java/java/util/ |
EnumMap.java | 28 public class EnumMap<K extends Enum<K>, V> extends AbstractMap<K, V> implements 53 private final EnumMap<KT, VT> enumMap; 57 Entry(KT theKey, VT theValue, EnumMap<KT, VT> em) { 59 enumMap = em; 66 if (!enumMap.hasMapping[ordinal]) { 75 if (enumMap.values[ordinal] == null) { 78 isEqual = enumMap.values[ordinal].equals(theValue); 87 return (enumMap.keys[ordinal] == null ? 0 : enumMap.keys[ordinal [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
EnumMapTest.java | 23 import java.util.EnumMap; 79 * java.util.EnumMap#EnumMap(Class) 84 new EnumMap((Class) null); 92 new EnumMap(Size.Big.getClass()); 99 new EnumMap(Integer.class); 105 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class); 111 EnumMap enumEmptyMap = new EnumMap<Empty, Double>(Empty.class) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EnumMultiset.java | 21 import java.util.EnumMap; 25 * Multiset implementation backed by an {@link EnumMap}. 58 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type)));
|
EnumBiMap.java | 23 import java.util.EnumMap; 27 * A {@code BiMap} backed by two {@code EnumMap} instances. Null keys and values 70 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), 71 WellBehavedMap.wrap(new EnumMap<V, K>(valueType)));
|
EnumHashBiMap.java | 21 import java.util.EnumMap; 27 * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and 69 new EnumMap<K, V>(keyType)),
|
/external/guava/guava-tests/test/com/google/common/collect/ |
WellBehavedMapTest.java | 23 import java.util.EnumMap; 35 new EnumMap<Foo, Integer>(Foo.class)); 51 new EnumMap<Foo, Integer>(Foo.class)); 63 new EnumMap<Foo, Integer>(Foo.class)); 90 new EnumMap<Foo, Integer>(Foo.class));
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
FormOptions.java | 19 import java.util.EnumMap; 42 private final EnumMap<AddressField, String> mCustomLabels = 43 new EnumMap<AddressField, String>(AddressField.class); 48 private final EnumMap<AddressField, Integer> mMaxLengths = 49 new EnumMap<AddressField, Integer>(AddressField.class); 136 private final EnumMap<AddressField, String> mCustomLabels = 137 new EnumMap<AddressField, String>(AddressField.class); 142 private final EnumMap<AddressField, Integer> mMaxLengths = 143 new EnumMap<AddressField, Integer>(AddressField.class);
|
AddressVerificationData.java | 20 import java.util.EnumMap; 84 new EnumMap<AddressDataKey, String>(AddressDataKey.class);
|
ClientData.java | 26 import java.util.EnumMap; 112 new EnumMap<AddressDataKey, String>(AddressDataKey.class);
|
/external/guava/guava/src/com/google/common/collect/ |
WellBehavedMap.java | 27 * EnumMap bug</a>. If you want to pass an {@code EnumMap}, with the 29 * wrap the {@code EnumMap} in this class instead.
|
EnumHashBiMap.java | 25 import java.util.EnumMap; 32 * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and 74 new EnumMap<K, V>(keyType)), 112 setDelegates(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
|
EnumMultiset.java | 25 import java.util.EnumMap; 29 * Multiset implementation backed by an {@link EnumMap}. 62 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); 84 setBackingMap(WellBehavedMap.wrap(new EnumMap<E, Count>(type)));
|
EnumBiMap.java | 27 import java.util.EnumMap; 31 * A {@code BiMap} backed by two {@code EnumMap} instances. Null keys and values 74 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), 75 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); 129 WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), 130 WellBehavedMap.wrap(new EnumMap<V, K>(valueType)));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ClassCastExceptionTest.java | 21 import java.util.EnumMap; 50 EnumMap m = new EnumMap(E.class);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
ConjunctionListenerMux.java | 21 import java.util.EnumMap; 47 private final EnumMap<Input, Boolean> mInputs; 112 mInputs = new EnumMap<Input, Boolean>(clazz);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLCompositeProperty.java | 20 import java.util.EnumMap; 34 mPropertiesMap = new EnumMap<GLStateType, IGLProperty>(GLStateType.class);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestsForMapsInJavaUtil.java | 30 import java.util.EnumMap; 190 new EnumMap<AnEnum, String>(AnEnum.class), entries); 193 .named("EnumMap")
|
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/ |
UiAutomationElement.java | 35 import java.util.EnumMap; 73 Map<Attribute, Object> attribs = new EnumMap<Attribute, Object>(Attribute.class);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ |
DistilledPagePrefsView.java | 32 import java.util.EnumMap; 77 mColorModeButtons = new EnumMap<Theme, RadioButton>(Theme.class);
|
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ |
ViewElement.java | 38 import java.util.EnumMap; 50 final Map<Attribute, Object> attribs = new EnumMap<Attribute, Object>(Attribute.class);
|
/frameworks/base/core/java/android/net/ |
NetworkInfo.java | 24 import java.util.EnumMap; 94 private static final EnumMap<DetailedState, State> stateMap = 95 new EnumMap<DetailedState, State>(DetailedState.class);
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiInfo.java | 28 import java.util.EnumMap; 42 private static final EnumMap<SupplicantState, DetailedState> stateMap = 43 new EnumMap<SupplicantState, DetailedState>(SupplicantState.class);
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
CssFuzzerTest.java | 32 import java.util.EnumMap; 174 private static final EnumMap<CssTokens.TokenType, Pattern> TOKEN_TYPE_FILTERS
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
CompiledResourcesMonitor.java | 45 import java.util.EnumMap; 222 new EnumMap<ResourceType, Map<String, Integer>>(ResourceType.class);
|
ProjectResources.java | 37 import java.util.EnumMap; 100 new EnumMap<ResourceType, Map<String, ResourceValue>>(ResourceType.class);
|