/external/guava/guava-tests/test/com/google/common/collect/ |
LinkedHashMultimapTest.java | 46 @Override protected Multimap<String, Integer> create() { 50 private Multimap<String, Integer> initializeMultimap5() { 51 Multimap<String, Integer> multimap = getMultimap(); 66 Multimap<String, Integer> multimap = initializeMultimap5(); 71 Multimap<String, Integer> multimap = initializeMultimap5(); 76 Multimap<String, Integer> multimap = initializeMultimap5(); 82 Multimap<String, Integer> multimap = initializeMultimap5(); 83 Multimap<String, Integer> copy 88 private void assertOrderingReadOnly(Multimap<String, Integer> multimap) { 96 Iterator<Map.Entry<String, Integer>> entryIterator [all...] |
ArrayListMultimapTest.java | 36 @Override protected ListMultimap<String, Integer> create() { 44 Multimap<String, Integer> multimap = create(); 55 Multimap<String, Integer> multimap = create(); 66 Multimap<String, Integer> multimap = create(); 80 ListMultimap<String, Integer> multimap = create(); 82 List<Integer> list = multimap.get("foo"); 84 List<Integer> sublist = list.subList(0, 5); 98 Multimap<String, Integer> multimap = createSample(); 99 ArrayListMultimap<String, Integer> copy 105 ArrayListMultimap<String, Integer> multima [all...] |
ConstrainedMultimapAsMapImplementsMapTest.java | 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 41 ArrayListMultimap.<String, Integer>create(), 46 @Override protected Map<String, Collection<Integer>> makePopulatedMap() { 47 Multimap<String, Integer> delegate = ArrayListMultimap.create();
|
HashBasedTableTest.java | 32 @Override protected Table<String, Integer, Character> create( 34 Table<String, Integer, Character> table = HashBasedTable.create(); 43 Table<String, Integer, Character> table1 = HashBasedTable.create(100, 20); 47 Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0); 51 Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20); 55 Table<String, Integer, Character> table4 = HashBasedTable.create(0, 0); 73 Table<String, Integer, Character> original 75 Table<String, Integer, Character> copy = HashBasedTable.create(original);
|
/cts/tools/dasm/src/dasm/tokens/ |
number_token.java | 31 this(term_num, new Integer(0));
|
/dalvik/tests/019-wrong-array-type/src/ |
Main.java | 27 objArray[0] = new Integer(1);
|
/dalvik/tests/025-access-controller/src/ |
Main.java | 11 Integer result = AccessController.doPrivileged(priv);
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
Subroutine.java | 36 callers.add(new Integer(caller)); 40 callers.add(new Integer(caller)); 48 access.add(new Integer(index)); 52 return access.contains(new Integer(index));
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
AreaCodeMapStorageStrategy.java | 34 protected final TreeSet<Integer> possibleLengths = new TreeSet<Integer>(); 61 public abstract void readFromSortedMap(SortedMap<Integer, String> sortedAreaCodeMap); 91 public TreeSet<Integer> getPossibleLengths() {
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
BlankMethodItem.java | 40 return Integer.MAX_VALUE;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccFileNotFound.java | 32 super("ICC EF Not Found 0x" + Integer.toHexString(ef));
|
/libcore/luni/src/main/java/java/util/ |
IllegalFormatPrecisionException.java | 53 return Integer.toString(p);
|
IllegalFormatWidthException.java | 54 return Integer.toString(w);
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidHashMapTest.java | 24 private static final Integer ONE = 1; 25 private static final Integer TWO = 2; 26 private static final Integer THREE = 3; 27 private static final Integer FOUR = 4; 29 private void addItems(HashMap<String, Integer> map) { 44 HashMap<String, Integer> map = new HashMap<String, Integer>(); 49 HashMap<String, Integer> map = new HashMap<String, Integer>(); 57 HashMap<String, Integer> map = new HashMap<String, Integer>() [all...] |
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
ApiClass.java | 41 private final List<Pair<String, Integer>> mSuperClasses = new ArrayList<Pair<String, Integer>>(); 42 private final List<Pair<String, Integer>> mInterfaces = new ArrayList<Pair<String, Integer>>(); 44 private final Map<String, Integer> mFields = new HashMap<String, Integer>(); 45 private final Map<String, Integer> mMethods = new HashMap<String, Integer>(); 73 public Integer getField(String name, Api info) { 87 int min = Integer.MAX_VALUE [all...] |
/libcore/luni/src/main/java/java/math/ |
Multiplication.java | 86 * Multiplies a number by a positive integer. 114 * an exponent equals to: {@code Integer.MAX_VALUE - Integer.MIN_VALUE}. 142 if (exp <= Integer.MAX_VALUE) { 153 BigInteger powerOfFive = bigFivePows[1].pow(Integer.MAX_VALUE); 155 long longExp = exp - Integer.MAX_VALUE; 157 intExp = (int)(exp % Integer.MAX_VALUE); 158 while (longExp > Integer.MAX_VALUE) { 160 longExp -= Integer.MAX_VALUE; 164 res = res.shiftLeft(Integer.MAX_VALUE) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardIconsSet.java | 34 private static final HashMap<Integer, Integer> ATTR_ID_TO_ICON_ID 35 = new HashMap<Integer, Integer>(); 38 private static final HashMap<String, Integer> sNameToIdsMap = new HashMap<String, Integer>(); 68 final Integer attrId = (Integer)NAMES_AND_ATTR_IDS[i + 1]; 79 for (final Integer attrId : ATTR_ID_TO_ICON_ID.keySet()) { 83 final Integer iconId = ATTR_ID_TO_ICON_ID.get(attrId) [all...] |
/sdk/ddms/app/src/com/android/ddms/ |
DebugPortProvider.java | 44 private Map<String, Map<String, Integer>> mMap; 67 Map<String, Integer> deviceMap = mMap.get(device.getSerialNumber()); 69 Integer i = deviceMap.get(appName); 82 public Map<String, Map<String, Integer>> getPortList() { 90 mMap = new HashMap<String, Map<String, Integer>>(); 115 Map<String, Integer> deviceMap = mMap.get(deviceName); 117 deviceMap = new HashMap<String, Integer>(); 121 deviceMap.put(entry[0], Integer.valueOf(entry[1])); 131 public void setPortList(Map<String, Map<String,Integer>> map) { 142 Map<String, Integer> deviceMap = map.get(deviceKey) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/ |
DebugPortProvider.java | 45 private Map<String, Map<String, Integer>> mMap; 68 Map<String, Integer> deviceMap = mMap.get(device.getSerialNumber()); 70 Integer i = deviceMap.get(appName); 83 public Map<String, Map<String, Integer>> getPortList() { 91 mMap = new HashMap<String, Map<String, Integer>>(); 116 Map<String, Integer> deviceMap = mMap.get(deviceName); 118 deviceMap = new HashMap<String, Integer>(); 122 deviceMap.put(entry[0], Integer.valueOf(entry[1])); 132 public void setPortList(Map<String, Map<String,Integer>> map) { 143 Map<String, Integer> deviceMap = map.get(deviceKey) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int/ |
Test_mul_int.java | 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, 1 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); 75 * @title Arguments = Integer.MIN_VALUE, 1 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); 83 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/ |
Test_mul_int_2addr.java | 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, 1 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); 75 * @title Arguments = Integer.MIN_VALUE, 1 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); 83 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
IntSerializer.java | 40 * The Integer serializer serializes...integers. Big surprise. 47 public Integer readObject(ByteBuffer data, Class c) throws IOException { 52 buffer.putInt((Integer)object);
|
/frameworks/base/test-runner/src/android/test/ |
InstrumentationUtils.java | 35 * @return The integer corresponding to the menu item. 40 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
SuggestionsInfoCompatUtils.java | 26 private static final Integer OBJ_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS = (Integer) CompatUtils
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/ |
LayoutlibVersionMixin.java | 35 * The first integer is the API of layoublib, which should be > 0.
38 * The second integer is the revision for that given API. It is >= 0
41 private final Pair<Integer, Integer> mLayoutlibVersion;
68 int layoutlibApi = Integer.parseInt(
70 Integer.toString(LAYOUTLIB_API_NOT_SPECIFIED)));
71 int layoutlibRev = Integer.parseInt(
73 Integer.toString(LAYOUTLIB_REV_NOT_SPECIFIED)));
90 * The first integer is the API of layoublib, which should be > 0.
94 * The second integer is the revision for that given API. It is >= 0 [all...] |