/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | EnumMap.java | 65 public boolean equals(Object object) { argument 70 if (object instanceof Map.Entry) { 71 Map.Entry<KT, VT> entry = (Map.Entry<KT, VT>) object; 202 public boolean contains(Object object) { argument 203 return enumMap.containsKey(object); 219 public boolean remove(Object object) { argument 220 if (contains(object)) { 221 enumMap.remove(object); 247 public boolean contains(Object object) { argument 248 return enumMap.containsValue(object); 263 remove(Object object) argument 321 contains(Object object) argument 346 remove(Object object) argument 551 equals(Object object) argument [all...] |
H A D | LinkedList.java | 67 LinkIterator(LinkedList<ET> object, int location) { argument 68 list = object; 89 public void add(ET object) { argument 92 Link<ET> newLink = new Link<ET>(object, link, next); 171 public void set(ET object) { argument 174 lastLink.data = object; 208 * Inserts the specified object into this {@code LinkedList} at the 209 * specified location. The object is inserted before any previous element at 211 * {@code LinkedList}, the object is added at the end. 215 * @param object 221 add(int location, E object) argument 252 add(E object) argument 352 addFirst(E object) argument 367 addLast(E object) argument 424 contains(Object object) argument 493 indexOf(Object object) argument 526 lastIndexOf(Object object) argument 600 remove(Object object) argument 680 set(int location, E object) argument [all...] |
H A D | Locale.java | 50 * is true even if you construct your own {@code Locale} object, not just of instances returned by 306 * Compares the specified object to this {@code Locale} and returns whether they are 307 * equal. The object must be an instance of {@code Locale} and have the same 310 * @param object 311 * the object to compare with this object. 312 * @return {@code true} if the specified object is equal to this {@code Locale}, 317 public boolean equals(Object object) { argument 318 if (object == this) { 321 if (object instanceo [all...] |
H A D | Vector.java | 124 * Adds the specified object into this vector at the specified location. The 125 * object is inserted before any element with the same or a higher index 127 * vector, the object is added at the end. 131 * @param object 132 * the object to insert in this vector. 139 public void add(int location, E object) { argument 140 insertElementAt(object, location); 144 * Adds the specified object at the end of this vector. 146 * @param object 147 * the object t 151 add(E object) argument 221 addElement(E object) argument 282 contains(Object object) argument 390 equals(Object object) argument 523 indexOf(Object object) argument 544 indexOf(Object object, int location) argument 577 insertElementAt(E object, int location) argument 640 lastIndexOf(Object object) argument 661 lastIndexOf(Object object, int location) argument 725 remove(Object object) argument 773 removeElement(Object object) argument 874 set(int location, E object) argument 895 setElementAt(E object, int location) argument [all...] |
H A D | WeakHashMap.java | 70 Entry(K key, V object, ReferenceQueue<K> queue) { argument 74 value = object; 85 public V setValue(V object) { argument 87 value = object; 306 public boolean remove(Object object) { 307 if (contains(object)) { 309 .remove(((Map.Entry<?, ?>) object).getKey()); 316 public boolean contains(Object object) { 317 if (object instanceof Map.Entry) { 318 Entry<?, ?> entry = getEntry(((Map.Entry<?, ?>) object) [all...] |
H A D | GregorianCalendar.java | 984 * @param object 986 * @return {@code true} if {@code object} is equal to this 994 public boolean equals(Object object) { argument 995 return super.equals(object) 996 && gregorianCutover == ((GregorianCalendar) object).gregorianCutover;
|
H A D | IdentityHashMap.java | 96 public boolean equals(Object object) { argument 97 if (this == object) { 100 if (object instanceof Map.Entry) { 101 Map.Entry<?, ?> entry = (Map.Entry) object; 209 public boolean remove(Object object) { argument 210 if (contains(object)) { 211 associatedMap.remove(((Map.Entry) object).getKey()); 218 public boolean contains(Object object) { argument 219 if (object instanceof Map.Entry) { 221 .getEntry(((Map.Entry) object) 718 equals(Object object) argument [all...] |
H A D | SimpleTimeZone.java | 359 * Compares the specified object to this {@code SimpleTimeZone} and returns whether they 360 * are equal. The object must be an instance of {@code SimpleTimeZone} and have the 363 * @param object 364 * the object to compare with this object. 365 * @return {@code true} if the specified object is equal to this 370 public boolean equals(Object object) { argument 371 if (!(object instanceof SimpleTimeZone)) { 374 SimpleTimeZone tz = (SimpleTimeZone) object;
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | EnumMapTest.java | 76 public V setValue(V object) { argument 78 value = object; 396 assertTrue("Returned false for contained object", set//$NON-NLS-1$ 399 assertFalse("Returned true for uncontained object", set //$NON-NLS-1$ 401 assertFalse("Returned true for uncontained object", set //$NON-NLS-1$ 404 assertFalse("Returned true for uncontained object", set //$NON-NLS-1$ 406 assertFalse("Returned true for uncontained object", set //$NON-NLS-1$ 410 assertTrue("Returned false for contained object", set//$NON-NLS-1$ 412 assertTrue("Returned false when the object can be removed", set //$NON-NLS-1$ 414 assertFalse("Returned true for uncontained object", se [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/ |
H A D | Method.java | 342 * Indicates whether or not the specified {@code object} is equal to this 343 * method. To be equal, the specified object must be an instance 347 * @param object 348 * the object to compare 350 * @return {@code true} if the specified object is equal to this 358 public boolean equals(Object object) { argument 359 return object instanceof Method && toString().equals(object.toString()); 468 * <li>If this Method object is enforcing access control (see 493 * the object o [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
H A D | BerOutputStream.java | 221 public int getStringLength(Object object) { argument
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
H A D | SerializationTest.java | 169 * Returns golden file for an object being tested. 188 * returned by {@link #getData() getData()}to golden files, each object to 211 * Serializes specified object to an output stream. 222 * Deserializes single object from an input stream. 244 * initial object used for creating serialized form 246 * deserialized object 261 * Comparator for verifying that deserialized object is the same as initial. 325 * <code>object</code>. 329 * selected as </code>comparator</code>.<br>- if passed <code>object</code> 332 * method tries to select one of known comparators basing on <code>object' 343 defineComparator(TestCase test, Object object) argument 381 verifyGolden(TestCase test, Object object) argument 402 verifyGolden(TestCase test, Object object, SerializableAssert comparator) argument 469 verifySelf(Object object) argument 487 verifySelf(Object object, SerializableAssert comparator) argument 567 createGoldenFile(String root, TestCase test, Object object) argument [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | Collator.java | 250 * Compares this collator with the specified object and indicates if they 253 * @param object 254 * the object to compare with this object. 255 * @return {@code true} if {@code object} is a {@code Collator} object and 261 public boolean equals(Object object) { argument 262 if (!(object instanceof Collator)) { 265 Collator collator = (Collator) object;
|
H A D | DecimalFormat.java | 56 * {@code DecimalFormat}. If you need to customize the format object, do 116 * digits. The symbols are stored in a {@link DecimalFormatSymbols} object. When 138 * {@link DecimalFormatSymbols} object instead, and these characters lose their 332 * {@link DecimalFormatSymbols} object. During formatting, the 371 * {@link DecimalFormatSymbols} object. This is the only value for which the 376 * character is determined by the {@link DecimalFormatSymbols} object. <a 665 * Compares the specified object to this decimal format and indicates if 666 * they are equal. In order to be equal, {@code object} must be an instance 669 * @param object 670 * the object t 676 equals(Object object) argument 703 formatToCharacterIterator(Object object) argument [all...] |
H A D | DecimalFormatSymbols.java | 36 * of these symbols, you can get the {@code DecimalFormatSymbols} object from 62 * and then to get the {@code DecimalFormatSymbols} from that object by 72 * and then to get the {@code DecimalFormatSymbols} from that object by 118 * Compares the specified object to this {@code DecimalFormatSymbols} and 119 * indicates if they are equal. In order to be equal, {@code object} must be 122 * @param object 123 * the object to compare with this object. 124 * @return {@code true} if the specified object is equal to this 129 public boolean equals(Object object) { argument [all...] |
H A D | MessageFormat.java | 43 * object with one of its constructors (not with a {@code getInstance} 314 * Likewise, parsing with a {@code MessageFormat} object using patterns 475 * Compares the specified object to this {@code MessageFormat} and indicates 476 * if they are equal. In order to be equal, {@code object} must be an 479 * @param object 480 * the object to compare with this object. 481 * @return {@code true} if the specified object is equal to this 486 public boolean equals(Object object) { argument 487 if (this == object) { 524 formatToCharacterIterator(Object object) argument 735 format(Object object, StringBuffer buffer, FieldPosition field) argument [all...] |
H A D | SimpleDateFormat.java | 623 * Compares the specified object with this simple date format and indicates 624 * if they are equal. In order to be equal, {@code object} must be an 628 * @param object 629 * the object to compare with this object. 630 * @return {@code true} if the specified object is equal to this simple date 635 public boolean equals(Object object) { argument 636 if (this == object) { 639 if (!(object instanceof SimpleDateFormat)) { 642 SimpleDateFormat simple = (SimpleDateFormat) object; 663 formatToCharacterIterator(Object object) argument [all...] |
H A D | NumberFormat.java | 185 * Compares the specified object to this number format and indicates if 186 * they are equal. In order to be equal, {@code object} must be an instance 189 * @param object 190 * the object to compare with this object. 191 * @return {@code true} if the specified object is equal to this number 196 public boolean equals(Object object) { argument 197 if (object == this) { 200 if (!(object instanceof NumberFormat)) { 203 NumberFormat obj = (NumberFormat) object; 303 format(Object object, StringBuffer buffer, FieldPosition field) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/ |
H A D | XNodeSet.java | 34 * This class represents an XPath nodeset object, and is capable of 49 * Construct a XNodeSet object. 51 * @param val Value of the XNodeSet object 75 * Construct a XNodeSet object. 77 * @param val Value of the XNodeSet object 92 * Construct an empty XNodeSet object. This is used to create a mutable 101 * Construct a XNodeSet object for one node. 103 * @param n Node to add to the new XNodeSet object 155 * Cast result object to a number. 168 * Cast result object t 289 public Object object() method in class:XNodeSet [all...] |
H A D | XStringForFSB.java | 50 * Construct a XNodeSet object. 52 * @param val FastStringBuffer object this will wrap, must be non-null. 70 * Construct a XNodeSet object. 72 * @param val String object this will wrap. 84 * Cast result object to a string. 94 * Cast result object to a string. 105 * Tell if this object contains a java String object. 121 * Since this object is incomplete without the length and the offset, we 124 * @return The java String representation of this object 126 public Object object() method in class:XStringForFSB [all...] |
H A D | XObject.java | 42 * This class represents an XPath object, and is capable of 43 * converting the object to various types, such as a string. 53 * The java object which this object wraps. 66 * @param obj Can be any object, should be a specific type 83 * @return This object. 115 * Forces the object to release it's resources. This is more harsh than 155 * Create the right XObject based on the type of the object passed. This 159 * @param val The java object which this object wil 397 public Object object() method in class:XObject [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 929 public void add(int index, Object object) { argument 934 list.add(index + start, object); 1148 * Writes the object state to the ObjectOutputStream. 1150 * @param oos ObjectOutputStream to write object to. 1164 * Reads the object state from the ObjectOutputStream. 1166 * @param ois ObjectInputStream to read object from.
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | SelectorImpl.java | 86 * The unmodifiable set of keys as exposed to the user. This object is used 95 * The unmodifiable set of selectable keys as seen by the user. This object 434 public boolean equals(Object object) { argument 435 return set.equals(object); 443 public boolean add(E object) { argument 455 public boolean contains(Object object) { argument 456 return set.contains(object); 471 public boolean remove(Object object) { argument 472 return set.remove(object);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | ObjectOutputStream.java | 67 * If object replacement is enabled or not 113 * Used to keep track of the PutField object for the class/object being 284 * if an error occurs while writing the object stream 395 * the object being dumped. 406 * defined in the object's class and superclasses are written to the output 455 // and now we're clean to a state where we can write an object 462 * or an object that has already been dumped previously. 477 // If the object has been saved already, save its handle only 487 * Enables object replacemen 656 replaceObject(Object object) argument 1204 writeHierarchy(Object object, ObjectStreamClass classDesc) argument 1404 writeNewClass(Class<?> object, boolean unshared) argument 1535 writeNewObject(Object object, Class<?> theClass, ObjectStreamClass clDesc, boolean unshared) argument 1617 writeNewString(String object, boolean unshared) argument 1664 writeObject(Object object) argument 1680 writeUnshared(Object object) argument 1684 writeObject(Object object, boolean unshared) argument 1741 writeObjectInternal(Object object, boolean unshared, boolean computeClassBasedReplacement, boolean computeStreamReplacement) argument 1917 writeNewEnum(Object object, Class<?> theClass, boolean unshared) argument 1975 writeObjectOverride(Object object) argument [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | String.java | 822 * Compares the specified object to this string and returns true if they are 823 * equal. The object must be an instance of string with the same characters 826 * @param object 827 * the object to compare. 828 * @return {@code true} if the specified object is equal to this string, 833 public boolean equals(Object object) { argument 834 if (object == this) { 837 if (object instanceof String) { 838 String s = (String) object; 1198 * object i [all...] |