Searched defs:object (Results 1 - 25 of 117) sorted by relevance

12345

/dalvik/libcore/security/src/main/java/java/security/
H A DGuard.java30 * @param object
31 * the object to be protected by this {@code Guard}.
35 public void checkGuard(Object object) throws SecurityException; argument
H A DGuardedObject.java24 * {@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 DSignedObject.java28 * 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...]
/dalvik/libcore/luni/src/main/java/java/util/
H A DAbstractSet.java38 * Compares the specified object to this Set and returns true if they are
39 * equal. The object must be an instance of Set and contain the same
42 * @param object
43 * the object to compare with this set.
44 * @return {@code true} if the specified object is equal to this set,
49 public boolean equals(Object object) { argument
50 if (this == object) {
53 if (object instanceof Set) {
54 Set<?> s = (Set<?>) object;
H A DComparator.java59 * 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 DAbstractSequentialList.java37 public void add(int location, E object) { argument
38 listIterator(location).add(object);
82 public E set(int location, E object) { argument
88 it.set(object);
H A DListIterator.java28 * 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 DStack.java84 * Pushes the specified object onto the top of the stack.
86 * @param object
87 * The object to be added on top of the stack.
88 * @return the object argument.
92 public E push(E object) { argument
93 addElement(object);
94 return object;
98 * Returns the index of the first occurrence of the object, starting from
101 * @return the index of the first occurrence of the object, assuming that
102 * the topmost object o
[all...]
H A DAbstractCollection.java40 public boolean add(E object) { argument
64 * if the class of an object is inappropriate for this
67 * if an object cannot be added to this {@code Collection}.
109 * Tests whether this {@code Collection} contains the specified object. This
111 * element is equal to the given object. If {@code object != null} then
112 * {@code object.equals(e)} is called for each element {@code e} returned by
113 * the iterator until the element is found. If {@code object == null} then
117 * @param object
118 * the object t
127 contains(Object object) argument
225 remove(Object object) argument
[all...]
H A DCollection.java48 * 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 DMapEntry.java51 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 DSet.java29 * 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...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
H A DASN1ValueCollection.java57 * Provides an object's values to be encoded
62 * @param - an object to be encoded
63 * @return - a collection of object's values to be encoded
65 public Collection getValues(Object object) { argument
66 return (Collection)object;
H A DASN1TypeCollection.java76 * @param object - a component's default value
79 protected final void setDefault(Object object, int index) { argument
81 DEFAULT[index] = object;
85 * Provides an object's values to be encoded
92 * @param object - an object to be encoded
93 * @param values - an array to store an object's values to be encoded
95 protected void getValues(Object object, Object[] values) { argument
H A DInformationObjectSet.java55 public void put(int[] oid, Object object) { argument
73 list[i] = new Entry(oid, object);
83 return list[i].object;
101 public Object object; field in class:InformationObjectSet.Entry
103 public Entry(int[] oid, Object object) { argument
105 this.object = object;
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DDERApplicationSpecific.java7 * Base class for an application specific object
25 DEREncodable object)
33 dos.writeObject(object);
23 DERApplicationSpecific( int tag, DEREncodable object) argument
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyGuard.java33 public void checkGuard(Object object) { argument
/dalvik/libcore/text/src/main/java/java/text/
H A DCollationKey.java24 * Represents a string under the rules of a specific {@code Collator} object.
96 * Compares this object to the specified collation key object to determine
100 * the collation key object to compare this object to.
110 * Compares the specified object to this {@code CollationKey} and indicates
111 * if they are equal. The object must be an instance of {@code CollationKey}
115 * @param object
116 * the object to compare to this object
122 equals(Object object) argument
[all...]
H A DParsePosition.java40 * 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;
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/
H A DXNodeSetForDOM.java32 * This class overrides the XNodeSet#object() method to provide the original
33 * Node object, NodeList object, or NodeIterator.
50 * Construct a XNodeSet object.
52 * @param val Value of the XNodeSet object
90 * Return the original DOM object that the user passed in. For use primarily
93 * @return The object that this class wraps
95 public Object object() method in class:XNodeSetForDOM
101 * Cast result object to a nodelist. Always issues an error.
114 * Cast result object t
[all...]
H A DXBoolean.java24 * This class represents an XPath boolean object, and is capable of
33 * A true boolean object so we don't have to keep creating them.
39 * A true boolean object so we don't have to keep creating them.
44 /** Value of the object.
49 * Construct a XBoolean object.
51 * @param b Value of the boolean object
62 * Construct a XBoolean object.
64 * @param b Value of the boolean object
98 * Cast result object to a number.
100 * @return numeric value of the object valu
133 public Object object() method in class:XBoolean
[all...]
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DSealedObject.java38 * A {@code SealedObject} is a wrapper around a {@code serializable} object
41 * Since a {@code SealedObject} instance is a serializable object itself it can
44 * The wrapped object can later be decrypted (unsealed) using the corresponding
45 * key and then be deserialized to retrieve the original object.The sealed
46 * object itself keeps track of the cipher and corresponding parameters.
69 * Creates a new {@code SealedObject} instance wrapping the specified object
74 * @param object
75 * the object to seal, can be {@code null}.
77 * the cipher to encrypt the object.
87 public SealedObject(Serializable object, Ciphe argument
[all...]
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DSealedObjectTest.java55 public Mock_SealedObject(Serializable object, Cipher c) argument
57 super(object, c);
68 * serialization/deserialization works correctly: object is serialized,
69 * deserialized, the content od deserialized object equals to the content of
70 * initial object.
89 assertEquals("The secret content of deserialized object "
90 + "should be equal to the secret content of initial object",
93 + "deserialized object should be equal to the value returned "
94 + "by getAlgorithm() method of initial object", so
99 * SealedObject(Serializable object, Ciphe
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DPriviAction.java66 * Creates a PrivilegedAction to get the current security policy object.
76 * object.
78 * @param object
79 * the object whose accessible flag will be set to
84 public PriviAction(AccessibleObject object) { argument
86 arg1 = object;
/dalvik/libcore/luni-kernel/src/main/native/
H A Djava_lang_System.cpp76 jstring name, jstring sig, jobject object) {
81 env->SetStaticObjectField(clazz, fieldID, object);
75 java_setFieldImpl(JNIEnv* env, jclass clazz, jstring name, jstring sig, jobject object) argument

Completed in 305 milliseconds

12345