/dalvik/dx/src/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
H A D | RuleBasedBreakIterator.java | 46 public boolean equals(Object object) { argument 47 if(object == null) { 51 if(!(object instanceof RuleBasedBreakIterator)) { 55 CharacterIterator iter = ((RuleBasedBreakIterator) object).charIter; 57 boolean result = this.type == ((RuleBasedBreakIterator) object).type;
|
/dalvik/libcore/json/src/test/java/org/json/ |
H A D | SelfUseTest.java | 42 private final JSONObject object = new JSONObject() { field in class:SelfUseTest 125 object.putOpt("foo", "bar"); 130 object.accumulate("foo", "bar"); 135 object.put("foo", "true"); 136 object.getBoolean("foo"); 141 object.optBoolean("foo"); 144 object.optDouble("foo"); 147 object.optInt("foo"); 150 object.optLong("foo"); 153 object [all...] |
/dalvik/libcore/junit/src/main/java/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | Byte.java | 53 * The {@link Class} object that represents the primitive type {@code byte}. 87 * @return this object's primitive value. 95 * Compares this object to the specified byte object to determine their 98 * @param object 99 * the byte object to compare this object to. 101 * of {@code object}; 0 if the value of this byte and the value of 102 * {@code object} are equal; a positive value if the value of this 103 * byte is greater than the value of {@code object} 107 compareTo(Byte object) argument 148 equals(Object object) argument [all...] |
H A D | Short.java | 54 * The {@link Class} object that represents the primitive type {@code 92 * Compares this object to the specified short object to determine their 95 * @param object 96 * the short object to compare this object to. 98 * value of {@code object}; 0 if the value of this short and the 99 * value of {@code object} are equal; a positive value if the value 100 * of this short is greater than the value of {@code object}. 102 * if {@code object} i 106 compareTo(Short object) argument 148 equals(Object object) argument [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | AbstractMap.java | 115 * Compares the specified object to this instance, and returns {@code true} 116 * if the specified object is a map and both maps contain the same mappings. 118 * @param object 119 * the object to compare with this object. 120 * @return boolean {@code true} if the object is the same as this object, 121 * and {@code false} if it is different from this object. 126 public boolean equals(Object object) { argument 127 if (this == object) { [all...] |
H A D | HashSet.java | 86 * Adds the specified object to this {@code HashSet} if not already present. 88 * @param object 89 * the object to add. 91 * the object, {@code false} otherwise 94 public boolean add(E object) { argument 95 return backingMap.put(object, this) == null; 129 * Searches this {@code HashSet} for the specified object. 131 * @param object 132 * the object to search for. 133 * @return {@code true} if {@code object} i 137 contains(Object object) argument 172 remove(Object object) argument [all...] |
H A D | Map.java | 38 * Compares the specified object to this {@code Map.Entry} and returns if they 39 * are equal. To be equal, the object must be an instance of {@code Map.Entry} and have the 42 * @param object 48 public boolean equals(Object object); argument 77 * @param object 79 * @return object the replaced value of this entry. 81 public V setValue(V object); argument 125 * specified object is a {@code Map} and both {@code Map}s contain the same mappings. 127 * @param object 134 public boolean equals(Object object); argument [all...] |
H A D | UUID.java | 384 * Compares this UUID to another object for equality. If {@code object} 388 * @param object 390 * @return {@code true} if this UUID is equal to {@code object} 394 public boolean equals(Object object) { argument 395 if (object == null) { 399 if (this == object) { 403 if (!(object instanceof UUID)) { 407 UUID that = (UUID) object;
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1Choice.java | 63 * Both of them are mapped to java.util.Date object, so an application 67 * So a custom ASN.1 Time choice type should map its notation to Date object. 75 * public int getIndex(java.lang.Object object) { 79 * public Object getObjectToEncode(Object object) { 81 * // A value to be encoded value is a Date object 83 * return object; 101 * // ASN.1 Time choice passed Data object - use it 105 * protected void getValues(Object object, Object[] values) { 107 * Validity validity = (Validity) object; 137 * // create Time object t 352 getIndex(Object object) argument 354 getObjectToEncode(Object object) argument [all...] |
H A D | ASN1Type.java | 122 public final byte[] encode(Object object) { argument 124 DerOutputStream out = new DerOutputStream(this, object); 155 * Creates decoded object. 160 * The default implementation returns an object created by decoding stream. 164 * @return - created object
|
/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 36 protected void t_FormatWithField(int count, Format format, Object object, argument 40 format.format(object, buffer, pos); 59 protected void t_Format(int count, Object object, Format format, argument 61 // System.out.println(format.format(object)); 62 Vector<FieldContainer> results = findFields(format.formatToCharacterIterator(object)); 65 + format.format(object), compare(results, expectedResults));
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | AttributedCharacterIterator.java | 81 * Compares this attribute with the specified object. Checks if both 85 * @param object 86 * the object to compare against. 87 * @return {@code true} if the object passed is equal to this instance; 91 public final boolean equals(Object object) { argument 92 return this == object;
|
H A D | FieldPosition.java | 79 * Compares the specified object to this field position and indicates if 80 * they are equal. In order to be equal, {@code object} must be an instance 83 * @param object 84 * the object to compare with this object. 85 * @return {@code true} if the specified object is equal to this field 90 public boolean equals(Object object) { argument 91 if (!(object instanceof FieldPosition)) { 94 FieldPosition pos = (FieldPosition) object;
|
H A D | Format.java | 45 * object may be associated with the pattern "$#,##0.00;($#,##0.00)", which is a 58 * containing multiple values. For instance, a {@code MessageFormat} object 124 * Formats the specified object using the rules of this format. 126 * @param object 127 * the object to format. 130 * if the object cannot be formatted by this format. 132 public final String format(Object object) { argument 133 return format(object, new StringBuffer(), new FieldPosition(0)) 138 * Appends the specified object to the specified string buffer using the 146 * @param object 157 format(Object object, StringBuffer buffer, FieldPosition field) argument 175 formatToCharacterIterator(Object object) argument [all...] |
H A D | StringCharacterIterator.java | 126 * Compares the specified object with this {@code StringCharacterIterator} 127 * and indicates if they are equal. In order to be equal, {@code object} 131 * @param object 132 * the object to compare with this object. 133 * @return {@code true} if the specified object is equal to this 138 public boolean equals(Object object) { argument 139 if (!(object instanceof StringCharacterIterator)) { 142 StringCharacterIterator it = (StringCharacterIterator) object;
|
/dalvik/libcore/xml/src/main/java/javax/xml/validation/ |
H A D | SchemaFactory.java | 45 * one thread is using a {@link SchemaFactory} object at any 122 * <p>To find a <code>SchemaFactory</code> object for a given schema language, 333 * @param object The requested value for the property. 342 public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSupportedException { argument 402 * the same {@link Throwable} object. 431 * When a new {@link SchemaFactory} object is created, initially 446 * This method returns the object that was last set through 492 * When a new {@link SchemaFactory} object is created, initially 506 * This method returns the object that was last set through 569 * language that this {@link SchemaFactory} object i [all...] |
H A D | Validator.java | 36 * A validator is a thread-unsafe and non-reentrant object. 38 * sure that one {@link Validator} object is not used from 164 * The {@link Result} object that receives (possibly augmented) 220 * the same {@link Throwable} object. 245 * When a new {@link Validator} object is created, initially 257 * This method returns the object that was last set through 297 * When a new {@link Validator} object is created, initially 309 * This method returns the object that was last set through 395 * @param object The requested value for the property. 404 public void setProperty(String name, Object object) throw argument [all...] |
H A D | ValidatorHandler.java | 31 * A {@link ValidatorHandler} object is a thread-unsafe, non-reentrant object. 33 * sure that one {@link ValidatorHandler} object is not used from 84 * the {@link org.xml.sax.Attributes} object of the 161 * throws an exception, the same exception object must be thrown 178 * This method returns the object that was last set through 205 * the same {@link Throwable} object will be thrown toward the 231 * When a new {@link ValidatorHandler} object is created, initially 243 * This method returns the object that was last set through 283 * When a new {@link ValidatorHandler} object i 413 setProperty(String name, Object object) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/ |
H A D | XNumber.java | 36 /** Value of the XNumber object. 41 * Construct a XNodeSet object. 43 * @param d Value of the object 53 * Construct a XNodeSet object. 55 * @param num Value of the object 88 * Cast result object to a number. 90 * @return the value of the XNumber object 112 * Cast result object to a boolean. 122 // * Cast result object to a string. 272 * Cast result object t 377 public Object object() method in class:XNumber [all...] |
H A D | XStringForChars.java | 43 * Construct a XNodeSet object. 45 * @param val FastStringBuffer object this will wrap, must be non-null. 61 * Construct a XNodeSet object. 63 * @param val String object this will wrap. 73 * Cast result object to a string. 83 * Cast result object to a string. 94 * Tell if this object contains a java String object. 105 * Cast result object to a string. 119 * Since this object i 124 public Object object() method in class:XStringForChars [all...] |
/dalvik/tests/021-string2/src/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/dalvik/tests/082-inline-execute/src/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/dalvik/vm/native/ |
H A D | java_lang_VMThread.c | 75 * boolean holdsLock(Object object) 78 * object. 83 Object* object = (Object*) args[1]; local 86 if (object == NULL) { 93 int result = dvmHoldsLock(thread, object);
|