/libcore/luni/src/main/java/java/security/ |
H A D | Guard.java | 30 * @param object 31 * the object to be protected by this {@code Guard}. 35 public void checkGuard(Object object) throws SecurityException; argument
|
H A D | GuardedObject.java | 24 * {@code GuardedObject} controls access to an object, by checking all requests 25 * for the object with a {@code Guard}. 31 private final Object object; field in class:GuardedObject 39 * @param object 45 public GuardedObject(Object object, Guard guard) { argument 46 this.object = object; 55 * @return the guarded object. 57 * if access is not granted to the guarded object. 61 guard.checkGuard(object); [all...] |
H A D | SignedObject.java | 28 * A {@code SignedObject} instance acts as a container for another object. The 55 * Constructs a new instance of {@code SignedObject} with the target object, 57 * {@code object} is signed with the specified key and engine. 59 * @param object 60 * the object to bes signed. 62 * the private key, used to sign the {@code object}. 72 public SignedObject(Serializable object, PrivateKey signingKey, argument 80 oos.writeObject(object); 93 * Returns the encapsulated object. Each time this method is invoked, the 94 * encapsulated object i [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | AbstractSet.java | 37 * Compares the specified object to this Set and returns true if they are 38 * equal. The object must be an instance of Set and contain the same 41 * @param object 42 * the object to compare with this set. 43 * @return {@code true} if the specified object is equal to this set, 48 public boolean equals(Object object) { argument 49 if (this == object) { 52 if (object instanceof Set) { 53 Set<?> s = (Set<?>) object;
|
H A D | Comparator.java | 59 * are equal. In order to be equal, {@code object} must represent the same object 65 * @param object 72 public boolean equals(Object object); argument
|
H A D | AbstractSequentialList.java | 36 public void add(int location, E object) { argument 37 listIterator(location).add(object); 81 public E set(int location, E object) { argument 87 it.set(object);
|
H A D | ListIterator.java | 28 * Inserts the specified object into the list between {@code next} and 29 * {@code previous}. The object inserted will be the previous object. 31 * @param object 32 * the object to insert. 36 * if the class of the object is inappropriate for the list. 38 * if the object cannot be added to the list. 40 void add(E object); argument 60 * Returns the next object in the iteration. 62 * @return the next object 131 set(E object) argument [all...] |
H A D | Stack.java | 83 * Pushes the specified object onto the top of the stack. 85 * @param object 86 * The object to be added on top of the stack. 87 * @return the object argument. 91 public E push(E object) { argument 92 addElement(object); 93 return object; 97 * Returns the index of the first occurrence of the object, starting from 100 * @return the index of the first occurrence of the object, assuming that 101 * the topmost object o [all...] |
H A D | AbstractCollection.java | 39 public boolean add(E object) { argument 63 * if the class of an object is inappropriate for this 66 * if an object cannot be added to this {@code Collection}. 108 * Tests whether this {@code Collection} contains the specified object. This 110 * element is equal to the given object. If {@code object != null} then 111 * {@code object.equals(e)} is called for each element {@code e} returned by 112 * the iterator until the element is found. If {@code object == null} then 116 * @param object 117 * the object t 126 contains(Object object) argument 224 remove(Object object) argument [all...] |
H A D | Collection.java | 48 * Attempts to add {@code object} to the contents of this 51 * After this method finishes successfully it is guaranteed that the object 58 * objects, but it has to specify this in the documentation. If the object 62 * If a collection does not yet contain an object that is to be added and 63 * adding the object fails, this method <i>must</i> throw an appropriate 68 * @param object 69 * the object to add. 76 * if the class of the object is inappropriate for this 79 * if the object cannot be added to this {@code Collection}. 83 public boolean add(E object); argument 137 contains(Object object) argument 171 equals(Object object) argument 220 remove(Object object) argument [all...] |
H A D | MapEntry.java | 51 public boolean equals(Object object) { argument 52 if (this == object) { 55 if (object instanceof Map.Entry) { 56 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object; 79 public V setValue(V object) { argument 81 value = object;
|
H A D | Set.java | 29 * Adds the specified object to this set. The set is not modified if it 30 * already contains the object. 32 * @param object 33 * the object to add. 38 * when the class of the object is inappropriate for this set. 40 * when the object cannot be added to this set. 42 public boolean add(E object); argument 54 * when the class of an object is inappropriate for this set. 56 * when an object cannot be added to this set. 71 * Searches this set for the specified object 78 contains(Object object) argument 102 equals(Object object) argument 141 remove(Object object) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1ValueCollection.java | 50 * Provides an object's values to be encoded 55 * @param - an object to be encoded 56 * @return - a collection of object's values to be encoded 58 public Collection<?> getValues(Object object) { argument 59 return (Collection<?>) object;
|
H A D | ASN1TypeCollection.java | 66 * @param object a component's default value 69 protected final void setDefault(Object object, int index) { argument 71 DEFAULT[index] = object; 75 * Provides an object's values to be encoded 82 * @param object an object to be encoded 83 * @param values an array to store an object's values to be encoded 85 protected void getValues(Object object, Object[] values) { argument
|
/libcore/include/ |
H A D | ScopedBytes.h | 31 ScopedBytes(JNIEnv* env, jobject object) argument 32 : mEnv(env), mObject(object), mByteArray(NULL), mPtr(NULL) 66 ScopedBytesRO(JNIEnv* env, jobject object) : ScopedBytes<true>(env, object) {} argument 74 ScopedBytesRW(JNIEnv* env, jobject object) : ScopedBytes<false>(env, object) {} argument
|
/libcore/luni/src/main/java/java/text/ |
H A D | ParsePosition.java | 40 * Compares the specified object to this {@code ParsePosition} and indicates 41 * if they are equal. In order to be equal, {@code object} must be an 45 * @param object 46 * the object to compare with this object. 47 * @return {@code true} if the specified object is equal to this 52 public boolean equals(Object object) { argument 53 if (!(object instanceof ParsePosition)) { 56 ParsePosition pos = (ParsePosition) object;
|
H A D | Format.java | 38 * object may be associated with the pattern "$#,##0.00;($#,##0.00)", which is a 51 * containing multiple values. For instance, a {@code MessageFormat} object 84 * Formats the specified object using the rules of this format. 86 * @param object 87 * the object to format. 90 * if the object cannot be formatted by this format. 92 public final String format(Object object) { argument 93 return format(object, new StringBuffer(), new FieldPosition(0)) 98 * Appends the specified object to the specified string buffer using the 106 * @param object 117 format(Object object, StringBuffer buffer, FieldPosition field) argument 135 formatToCharacterIterator(Object object) argument [all...] |
H A D | AttributedCharacterIterator.java | 80 * Compares this attribute with the specified object. Checks if both 84 * @param object 85 * the object to compare against. 86 * @return {@code true} if the object passed is equal to this instance; 90 public final boolean equals(Object object) { argument 91 return this == object;
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | CollationKeyICU.java | 74 @Override public boolean equals(Object object) { argument 75 if (object == this) { 78 if (!(object instanceof CollationKey)) { 81 return compareTo((CollationKey) object) == 0;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MyGuard.java | 33 public void checkGuard(Object object) { argument
|
/libcore/luni/src/main/java/javax/crypto/ |
H A D | SealedObject.java | 34 * A {@code SealedObject} is a wrapper around a {@code serializable} object 40 * <p>The wrapped object can later be decrypted (unsealed) using the corresponding 41 * key and then be deserialized to retrieve the original object. The sealed 42 * object itself keeps track of the cipher and corresponding parameters. 64 // almost certain to the be same for each object, and String is immutable anyway, 71 * Creates a new {@code SealedObject} instance wrapping the specified object 76 * @param object 77 * the object to seal, can be {@code null}. 79 * the cipher to encrypt the object. 89 public SealedObject(Serializable object, Ciphe argument [all...] |
/libcore/luni/src/main/native/ |
H A D | java_lang_System.cpp | 61 jstring javaName, jstring javaSignature, jobject object) { 71 env->SetStaticObjectField(clazz, fieldID, object); 60 System_setFieldImpl(JNIEnv* env, jclass clazz, jstring javaName, jstring javaSignature, jobject object) argument
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | SealedObjectTest.java | 53 public Mock_SealedObject(Serializable object, Cipher c) argument 55 super(object, c); 66 * serialization/deserialization works correctly: object is serialized, 67 * deserialized, the content od deserialized object equals to the content of 68 * initial object. 81 assertEquals("The secret content of deserialized object " 82 + "should be equal to the secret content of initial object", 85 + "deserialized object should be equal to the value returned " 86 + "by getAlgorithm() method of initial object", so 91 * SealedObject(Serializable object, Ciphe [all...] |
/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...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | VMThread.java | 48 * given object. 50 native boolean holdsLock(Object object); argument
|