Searched defs:contains (Results 1 - 25 of 57) sorted by relevance

123

/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMStringList.java48 public boolean contains(String str); method in interface:DOMStringList
H A DNameList.java55 public boolean contains(String str); method in interface:NameList
/libcore/ojluni/src/main/java/sun/security/util/
H A DAnchorCertificates.java66 if (alias.contains(" [jdk")) {
90 public static boolean contains(X509Certificate cert) { method in class:AnchorCertificates
92 boolean result = certs.contains(key);
94 debug.println("AnchorCertificate.contains: matched " +
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetICU.java30 public boolean contains(Charset cs) { method in class:CharsetICU
36 return NativeConverter.contains(this.name(), cs.name());
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DBlockingQueue.java298 * that {@code o.equals(e)}, if this queue contains one or more such
314 * Returns {@code true} if this queue contains the specified element.
315 * More formally, returns {@code true} if and only if this queue contains
319 * @return {@code true} if this queue contains the specified element
326 boolean contains(Object o); method in interface:BlockingQueue
H A DBlockingDeque.java613 * Returns {@code true} if this deque contains the specified element.
614 * More formally, returns {@code true} if and only if this deque contains
618 * @return {@code true} if this deque contains the specified element
625 boolean contains(Object o); method in interface:BlockingDeque
H A DCopyOnWriteArraySet.java141 * Returns {@code true} if this set contains no elements.
143 * @return {@code true} if this set contains no elements
150 * Returns {@code true} if this set contains the specified element.
152 * contains an element {@code e} such that {@code Objects.equals(o, e)}.
155 * @return {@code true} if this set contains the specified element
157 public boolean contains(Object o) { method in class:CopyOnWriteArraySet
158 return al.contains(o);
237 * {@code Objects.equals(o, e)}, if this set contains such an element.
252 * the set contains no element {@code e2} such that
254 * If this set already contains th
[all...]
H A DConcurrentSkipListSet.java63 * cost for the {@code contains}, {@code add}, and {@code remove}
187 * contains more than {@code Integer.MAX_VALUE} elements, it
206 * Returns {@code true} if this set contains no elements.
207 * @return {@code true} if this set contains no elements
214 * Returns {@code true} if this set contains the specified element.
216 * contains an element {@code e} such that {@code o.equals(e)}.
219 * @return {@code true} if this set contains the specified element
224 public boolean contains(Object o) { method in class:ConcurrentSkipListSet
231 * the set contains no element {@code e2} such that {@code e.equals(e2)}.
232 * If this set already contains th
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DAbstractCollection.java98 public boolean contains(Object o) { method in class:AbstractCollection
275 * method and this collection contains the specified object.
314 * @see #contains(Object)
318 if (!contains(e))
360 * and this collection contains one or more elements in common with the
368 * @see #contains(Object)
375 if (c.contains(it.next())) {
394 * and this collection contains one or more elements not present in the
402 * @see #contains(Object)
409 if (!c.contains(i
[all...]
H A DCollection.java92 * the specification for the {@link #contains(Object) contains(Object o)}
94 * contains at least one element <tt>e</tt> such that
96 * <i>not</i> be construed to imply that invoking <tt>Collection.contains</tt>
109 * the collection directly or indirectly contains itself. This includes the
149 * contains more than <tt>Integer.MAX_VALUE</tt> elements, returns
157 * Returns <tt>true</tt> if this collection contains no elements.
159 * @return <tt>true</tt> if this collection contains no elements
164 * Returns <tt>true</tt> if this collection contains the specified element.
166 * contains a
179 boolean contains(Object o); method in interface:Collection
[all...]
H A DHashSet.java38 * (<tt>add</tt>, <tt>remove</tt>, <tt>contains</tt> and <tt>size</tt>),
185 * Returns <tt>true</tt> if this set contains no elements.
187 * @return <tt>true</tt> if this set contains no elements
194 * Returns <tt>true</tt> if this set contains the specified element.
196 * contains an element <tt>e</tt> such that
200 * @return <tt>true</tt> if this set contains the specified element
202 public boolean contains(Object o) { method in class:HashSet
209 * this set contains no element <tt>e2</tt> such that
211 * If this set already contains the element, the call leaves the set
226 * if this set contains suc
[all...]
H A DSet.java29 * A collection that contains no duplicate elements. More formally, sets
43 * that all constructors must create a set that contains no duplicate elements
90 * set contains more than <tt>Integer.MAX_VALUE</tt> elements, returns
98 * Returns <tt>true</tt> if this set contains no elements.
100 * @return <tt>true</tt> if this set contains no elements
105 * Returns <tt>true</tt> if this set contains the specified element.
107 * contains an element <tt>e</tt> such that
111 * @return <tt>true</tt> if this set contains the specified element
119 boolean contains(Object o); method in interface:Set
198 * <tt>e</tt> to this set if the set contains n
[all...]
H A DDeque.java539 * Returns {@code true} if this deque contains the specified element.
540 * More formally, returns {@code true} if and only if this deque contains
544 * @return {@code true} if this deque contains the specified element
552 boolean contains(Object o); method in interface:Deque
H A DJumboEnumSet.java166 * Returns <tt>true</tt> if this set contains no elements.
168 * @return <tt>true</tt> if this set contains no elements
175 * Returns <tt>true</tt> if this set contains the specified element.
178 * @return <tt>true</tt> if this set contains the specified element
180 public boolean contains(Object e) { method in class:JumboEnumSet
241 * Returns <tt>true</tt> if this set contains all of the elements
245 * @return <tt>true</tt> if this set contains all of the elements
H A DList.java115 * Returns the number of elements in this list. If this list contains
124 * Returns <tt>true</tt> if this list contains no elements.
126 * @return <tt>true</tt> if this list contains no elements
131 * Returns <tt>true</tt> if this list contains the specified element.
132 * More formally, returns <tt>true</tt> if and only if this list contains
137 * @return <tt>true</tt> if this list contains the specified element
145 boolean contains(Object o); method in interface:List
267 * Returns <tt>true</tt> if this list contains all of the elements of the
271 * @return <tt>true</tt> if this list contains all of the elements of the
277 * @throws NullPointerException if the specified collection contains on
[all...]
H A DRegularEnumSet.java126 * Returns <tt>true</tt> if this set contains no elements.
128 * @return <tt>true</tt> if this set contains no elements
135 * Returns <tt>true</tt> if this set contains the specified element.
138 * @return <tt>true</tt> if this set contains the specified element
140 public boolean contains(Object e) { method in class:RegularEnumSet
189 * Returns <tt>true</tt> if this set contains all of the elements
193 * @return <tt>true</tt> if this set contains all of the elements
H A DEnumMap.java165 * <tt>EnumMap</tt> instance and contains no mappings
214 * Returns <tt>true</tt> if this map contains a mapping for the specified
218 * @return <tt>true</tt> if this map contains a mapping for the specified
232 * or {@code null} if this map contains no mapping for the key.
234 * <p>More formally, if this map contains a mapping from a key
240 * indicate that the map contains no mapping for the key; it's also
397 public boolean contains(Object o) { method in class:EnumMap.KeySet
436 public boolean contains(Object o) { method in class:EnumMap.Values
478 public boolean contains(Object o) { method in class:EnumMap.EntrySet
H A DTreeSet.java35 * operations ({@code add}, {@code remove} and {@code contains}).
211 * Returns {@code true} if this set contains no elements.
213 * @return {@code true} if this set contains no elements
220 * Returns {@code true} if this set contains the specified element.
222 * contains an element {@code e} such that
226 * @return {@code true} if this set contains the specified element
233 public boolean contains(Object o) { method in class:TreeSet
240 * the set contains no element {@code e2} such that
242 * If this set already contains the element, the call leaves the set
262 * if this set contains suc
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCharsetDecoder2Test.java137 public boolean contains(Charset cs) { method in class:CharsetDecoder2Test.MockMalfunctionCharset
H A DCharsetEncoder2Test.java127 public boolean contains(Charset cs) { method in class:CharsetEncoder2Test.MockMalfunctionCharset
/libcore/luni/src/test/java/libcore/java/nio/charset/
H A DCharsetEncoderTest.java175 public boolean contains(Charset charset) { method in class:CharsetEncoderTest.MockCharset
/libcore/ojluni/src/main/java/sun/security/x509/
H A DGeneralSubtrees.java101 public boolean contains(GeneralSubtree tree) { method in class:GeneralSubtrees
105 return trees.contains(tree);
306 * the result contains the name in this. No name of a given type
309 * the result contains the name in other. This means that
421 if (!newExcluded.contains(widestSubtree)) {
/libcore/luni/src/main/java/libcore/icu/
H A DNativeConverter.java46 public static native boolean contains(String converterName1, String converterName2); method in class:NativeConverter
/libcore/ojluni/src/main/java/java/nio/charset/
H A DCharset.java64 * constructing a map that contains every charset for which support is
764 * Tells whether or not this charset contains the given charset.
772 * <p> That <i>C</i> contains <i>D</i> does not imply that each character
777 * <p> Every charset contains itself.
790 public abstract boolean contains(Charset cs); method in class:Charset
/libcore/ojluni/src/main/java/javax/security/auth/
H A DSubject.java1134 if (!elements.contains(o))
1169 public boolean contains(Object o) { method in class:Subject.SecureSet
1181 // it contains the Object

Completed in 481 milliseconds

123