Searched refs:add (Results 151 - 175 of 683) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/libcore/java/util/
H A DOldListIteratorTest.java58 public void add(Object o) { method in class:OldListIteratorTest.Mock_ListIterator
219 l.add(new Integer(33));
224 ml.add("Wrong element");
231 ml.add(new Double("3.14"));
238 ml.add("");
249 ll.add(objArray[i]);
H A DPrimitiveIteratorTest.java96 cit.forEachRemaining((int i) -> recorder.add(i));
113 cit.forEachRemaining((Integer i) -> recorder.add(i));
121 cit.forEachRemaining((int i) -> recorder2.add(i));
143 cit.forEachRemaining((long i) -> recorder.add(i));
160 cit.forEachRemaining((Long i) -> recorder.add(i));
168 cit.forEachRemaining((long i) -> recorder2.add(i));
190 cit.forEachRemaining((double i) -> recorder.add(i));
207 cit.forEachRemaining((Double i) -> recorder.add(i));
215 cit.forEachRemaining((double i) -> recorder2.add(i));
/libcore/luni/src/test/java/libcore/libcore/util/
H A DBasicLruCacheTest.java79 evictionLog.add(key + "=" + value);
89 expectedEvictionLog.add("a=A");
102 evictionLog.add(key + "=" + value);
118 evictionLog.add(key + "=" + value);
141 actualKeysAndValues.add(entry.getKey());
142 actualKeysAndValues.add(entry.getValue());
/libcore/ojluni/src/main/java/sun/net/
H A DProgressMonitor.java74 // Clone ProgressSource and add to snapshot
75 snapshot.add((ProgressSource)pi.clone());
110 progressSourceList.add(pi);
122 listeners.add(iter.next());
159 listeners.add(iter.next());
191 listeners.add(iter.next());
209 progressListenerList.add(l);
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DPKIXCertPathValidator.java162 // add standard checkers that we will be using
175 // add standard checkers that we will be using
177 // certPathCheckers.add(untrustedChecker);
178 certPathCheckers.add(new AlgorithmChecker(anchor));
179 certPathCheckers.add(new KeyChecker(certPathLen,
181 certPathCheckers.add(new ConstraintsChecker(certPathLen));
193 certPathCheckers.add(pc);
197 certPathCheckers.add(bc);
214 // only add a RevocationChecker if revocation is enabled and
217 certPathCheckers.add(ne
[all...]
H A DKeyChecker.java89 supportedExts.add(KeyUsage_Id.toString());
90 supportedExts.add(ExtendedKeyUsage_Id.toString());
91 supportedExts.add(SubjectAlternativeName_Id.toString());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTreeSetTest.java78 myTreeSet.add(new Integer(1));
79 myTreeSet.add(new Integer(2));
96 myTreeSet.add(objArray[i]);
110 * java.util.TreeSet#add(java.lang.Object)
113 // Test for method boolean java.util.TreeSet.add(java.lang.Object)
114 ts.add(new Integer(-8));
115 assertTrue("Failed to add Object", ts.contains(new Integer(-8)));
116 ts.add(objArray[0]);
129 assertTrue("Incorrect size after add", s.size() == ts.size());
314 s1.add("key
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMockFilter.java63 features.add(name);
81 logger.add("parse", input);
86 logger.add("parse", systemId);
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DAttributeListImpl.java141 names.add(name);
142 types.add(type);
143 values.add(value);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKSSecretKeyEntryTest.java106 attributeSet.add(myAttribute);
112 attributeSet.add(myAttribute);
115 returnedAttributeSet.add(myAttribute);
H A DKSTrustedCertificateEntryTest.java109 attributeSet.add(myAttribute);
116 attributeSet.add(myAttribute);
119 returnedAttributeSet.add(myAttribute);
H A DProvider2Test.java59 provTest.entrySet().add(new MyEntry());
101 provTest.keySet().add("another property key");
115 provTest.values().add("another property value");
/libcore/ojluni/src/main/java/java/text/
H A DCharacterIteratorFieldDelegate.java78 attributedStrings.add(new AttributedString(
89 attributedStrings.add(string);
110 attributedStrings.add(new AttributedString(
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
H A DLongAdder.java42 * {@code long} sum. When updates (method {@link #add}) are contended
59 * add a count to a {@code ConcurrentHashMap<String,LongAdder> freqs},
83 * @param x the value to add
85 public void add(long x) { method in class:LongAdder
97 * Equivalent to {@code add(1)}.
100 add(1L);
104 * Equivalent to {@code add(-1)}.
107 add(-1L);
/libcore/annotations/
H A Dgenerate_annotated_java_files.py32 srcs_list.add(SRC_PREFIX + current_package.replace('.', '/') + '/' + current_class + '.java')
/libcore/benchmarks/src/benchmarks/
H A DArrayListIterationBenchmark.java27 for (int i = 0; i < 27; ++i) mList.add(new Foo());
/libcore/dom/src/test/java/org/w3c/domts/
H A DUserDataMonitor.java56 notifications.add(
/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentLinkedQueueTest.java100 * isEmpty is true before add, false after
105 q.add(one);
107 q.add(two);
124 q.add(new Integer(i));
140 * add(null) throws NPE
145 q.add(null);
160 * add returns true
166 assertTrue(q.add(new Integer(i)));
328 q.add(one);
343 p.add(ne
[all...]
/libcore/luni/src/main/java/libcore/net/event/
H A DNetworkEventDispatcher.java51 listeners.add(toAdd);
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMImplementationHasFeature.java83 featuresXML.add("XML");
84 featuresXML.add("xmL");
87 featuresCore.add("Core");
88 featuresCore.add("CORE");
/libcore/ojluni/src/main/java/java/util/
H A DSet.java36 * constructors and on the contracts of the <tt>add</tt>, <tt>equals</tt> and
55 * add an ineligible element throws an unchecked exception, typically
207 * elements; sets may refuse to add any particular element, including
209 * specification for {@link Collection#add Collection.add}.
216 * @throws UnsupportedOperationException if the <tt>add</tt> operation
225 boolean add(E e); method in interface:Set
295 * @see #add(Object)
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DBlockingQueue.java72 * <td>{@link #add add(e)}</td>
95 * to {@code add}, {@code put} or {@code offer} a {@code null}. A
190 * @param e the element to add
191 * @return {@code true} (as specified by {@link Collection#add})
200 boolean add(E e); method in interface:BlockingQueue
207 * generally preferable to {@link #add}, which can fail to insert an
210 * @param e the element to add
225 * @param e the element to add
239 * @param e the element to add
[all...]
/libcore/ojluni/src/main/java/javax/crypto/
H A DCryptoPermissions.java51 public void add(Permission permission) { } method in class:CryptoPermissions
/libcore/support/src/test/java/tests/http/
H A DMockResponse.java41 headers.add(EMPTY_BODY_HEADER);
84 headers.add(header);
99 this.headers.add("Content-Length: " + body.length);
114 headers.add(CHUNKED_BODY_HEADER);
/libcore/tools/upstream/src/main/java/libcore/
H A DUtil.java35 result.add(line);

Completed in 607 milliseconds

1234567891011>>