/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
EnumMapTest.java | 21 import java.util.EnumMap; 77 * @tests java.util.EnumMap#EnumMap(Class) 82 new EnumMap((Class) null); 90 new EnumMap(Size.Big.getClass()); 97 new EnumMap(Integer.class); 103 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class); 109 EnumMap enumEmptyMap = new EnumMap<Empty, Double>(Empty.class) [all...] |
/libcore/luni/src/test/java/tests/api/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...] |
/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...] |
/external/guava/guava/src/com/google/common/collect/ |
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)));
|
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)),
|
Maps.java | 43 import java.util.EnumMap; 239 * Creates an {@code EnumMap} instance. 242 * @return a new, empty {@code EnumMap} 244 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(Class<K> type) { 245 return new EnumMap<K, V>(checkNotNull(type)); 249 * Creates an {@code EnumMap} with the same mappings as the specified map. 251 * @param map the map from which to initialize this {@code EnumMap} 252 * @return a new {@code EnumMap} initialized with the mappings from {@code 254 * @throws IllegalArgumentException if {@code m} is not an {@code EnumMap} 257 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
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)),
|
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)));
|
/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));
|
MapsTest.java | 51 import java.util.EnumMap; 270 EnumMap<SomeEnum, Integer> map = Maps.newEnumMap(SomeEnum.class); 285 EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class); 287 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); 292 EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class); 293 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); 301 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); [all...] |
/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/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
VideoStreamsView.java | 42 import java.util.EnumMap; 62 private EnumMap<Endpoint, Rect> rects = 63 new EnumMap<Endpoint, Rect>(Endpoint.class); 72 private EnumMap<Endpoint, I420Frame> framesToRender = 73 new EnumMap<Endpoint, I420Frame>(Endpoint.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);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ClassCastExceptionTest.java | 21 import java.util.EnumMap; 123 EnumMap m = new EnumMap(E.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")
|
/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);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
ImageToAwt.java | 44 import java.util.EnumMap; 48 private static final EnumMap<Format, DecodeParams> params 49 = new EnumMap<Format, DecodeParams>(Format.class);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettingsForSetupWizardXL.java | 44 import java.util.EnumMap; 58 private static final EnumMap<DetailedState, DetailedState> sNetworkStateMap = 59 new EnumMap<DetailedState, DetailedState>(DetailedState.class);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GCWrapper.java | 34 import java.util.EnumMap; 81 private final Map<DrawingStyle, Color> mStyleStrokeMap = new EnumMap<DrawingStyle, Color>( 88 private final Map<DrawingStyle, Color> mStyleFillMap = new EnumMap<DrawingStyle, Color>(
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/ |
FrameSummaryViewPage.java | 54 import java.util.EnumMap; 263 new EnumMap<Function, PerCallStats>(Function.class);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
Bridge.java | 55 import java.util.EnumMap; 99 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class);
|