Searched defs:set (Results 1 - 25 of 47) sorted by relevance

12

/libcore/support/src/test/java/tests/support/
H A DSupport_SetTest.java24 Set<Integer> set; // must contain only the Integers 0 to 99 field in class:Support_SetTest
32 set = s;
38 assertTrue("Set Test - Adding a duplicate element changed the set",
39 !set.add(new Integer(50)));
40 assertTrue("Set Test - Removing an element did not change the set", set
44 !set.contains(new Integer(50)));
45 set.add(new Integer(50));
46 new Support_CollectionTest("", set).runTest();
/libcore/dalvik/src/main/java/dalvik/system/
H A DSocketTagger.java67 public static synchronized void set(SocketTagger tagger) { method in class:SocketTagger
/libcore/luni/src/main/java/java/util/
H A DAbstractSequentialList.java81 public E set(int location, E object) { method in class:AbstractSequentialList
87 it.set(object);
H A DListIterator.java119 * the object to set.
131 void set(E object); method in interface:ListIterator
H A DList.java306 public E set(int location, E object); method in interface:List
343 * the collection elements is set to null.
H A DTreeSet.java38 /** Keys are this set's elements. Values are always Boolean.TRUE */
86 * @param set
89 public TreeSet(SortedSet<E> set) { argument
90 this(set.comparator());
91 Iterator<E> it = set.iterator();
260 * Returns the first element in this set.
268 * Returns the last element in this set.
/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DAtomicBoolean.java98 public final void set(boolean newValue) { method in class:AtomicBoolean
H A DAtomicReference.java62 public final void set(V newValue) { method in class:AtomicReference
H A DAtomicReferenceFieldUpdater.java41 * {@code compareAndSet} and {@code set} on the same updater.
79 * other calls to {@code compareAndSet} and {@code set}, but not
82 * @param obj An object whose field to conditionally set
93 * other calls to {@code compareAndSet} and {@code set}, but not
100 * @param obj An object whose field to conditionally set
112 * @param obj An object whose field to set
115 public abstract void set(T obj, V newValue); method in class:AtomicReferenceFieldUpdater
121 * @param obj An object whose field to set
140 * @param obj An object whose field to get and set
241 public void set( method in class:AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl
[all...]
H A DAtomicInteger.java68 public final void set(int newValue) { method in class:AtomicInteger
H A DAtomicIntegerArray.java95 public final void set(int i, int newValue) { method in class:AtomicIntegerArray
H A DAtomicIntegerFieldUpdater.java25 * {@code compareAndSet} and {@code set} on the same updater.
59 * other calls to {@code compareAndSet} and {@code set}, but not
62 * @param obj An object whose field to conditionally set
75 * other calls to {@code compareAndSet} and {@code set}, but not
82 * @param obj An object whose field to conditionally set
96 * @param obj An object whose field to set
99 public abstract void set(T obj, int newValue); method in class:AtomicIntegerFieldUpdater
105 * @param obj An object whose field to set
125 * @param obj An object whose field to get and set
141 * @param obj An object whose field to get and set
292 public void set(T obj, int newValue) { method in class:AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl
[all...]
H A DAtomicLong.java82 public final void set(long newValue) { method in class:AtomicLong
H A DAtomicLongArray.java94 public final void set(int i, long newValue) { method in class:AtomicLongArray
H A DAtomicLongFieldUpdater.java25 * {@code compareAndSet} and {@code set} on the same updater.
62 * other calls to {@code compareAndSet} and {@code set}, but not
65 * @param obj An object whose field to conditionally set
78 * other calls to {@code compareAndSet} and {@code set}, but not
85 * @param obj An object whose field to conditionally set
99 * @param obj An object whose field to set
102 public abstract void set(T obj, long newValue); method in class:AtomicLongFieldUpdater
108 * @param obj An object whose field to set
127 * @param obj An object whose field to get and set
143 * @param obj An object whose field to get and set
290 public void set(T obj, long newValue) { method in class:AtomicLongFieldUpdater.CASUpdater
380 public void set(T obj, long newValue) { method in class:AtomicLongFieldUpdater.LockedUpdater
[all...]
H A DAtomicMarkableReference.java135 public void set(V newReference, boolean newMark) { method in class:AtomicMarkableReference
147 * thread is also attempting to set the value will eventually
H A DAtomicReferenceArray.java109 public final void set(int i, E newValue) { method in class:AtomicReferenceArray
H A DAtomicStampedReference.java136 public void set(V newReference, int newStamp) { method in class:AtomicStampedReference
148 * thread is also attempting to set the value will eventually
/libcore/luni/src/test/java/libcore/java/util/
H A DOldListIteratorTest.java92 public void set(Object o) { method in class:OldListIteratorTest.Mock_ListIterator
175 l.set(new Integer(1));
183 l.set((Integer)objArray[objArray.length - i - 1]);
188 l.set(new Integer(1));
197 ml.set("Wrong element");
204 ml.set(new Double("3.14"));
211 ml.set("");
/libcore/luni/src/main/java/java/lang/
H A DThreadLocal.java79 * Sets the value of this variable for the current thread. If set to
80 * {@code null}, the value will be set to null and the underlying entry will
85 public void set(T value) { method in class:ThreadLocal
96 * is followed by a {@link #get()} before a {@link #set},
/libcore/luni/src/main/java/java/lang/reflect/
H A DArray.java394 public static void set(Object array, int index, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { method in class:Array
/libcore/luni/src/main/java/libcore/net/http/
H A DRawHeaders.java184 public void set(String fieldName, String value) { method in class:RawHeaders
231 * @param fieldNames a case-insensitive set of HTTP header field names.
281 * present, the null field's last element will be used to set the status
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DBerOutputStream.java167 public void encodeSet(ASN1Set set) { argument
196 public void getSetLength(ASN1Set set) { argument
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DAnnotationsTest.java61 assertEquals(set(AnnotationB.class, AnnotationD.class),
63 assertEquals(set(AnnotationC.class, AnnotationD.class),
94 Set<Class<? extends Annotation>> expectedTypes = set(expectedAnnotations);
134 private <T> Set<T> set(T... instances) { method in class:AnnotationsTest
/libcore/luni/src/test/java/tests/api/java/util/
H A DAbstractSequentialListTest.java102 public void set(Object o) { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator
141 public void set(E o) { method in class:AbstractSequentialListTest.Mock_ListIterator
344 public void set(Object o) {
460 public void set(Object o) {
533 public void set(Object o) {
543 asl.set(asl.size() + 1, "new element");
550 asl.set(-1, "new element");
558 asl.set(i, "new element");
563 asl.set(1, new Double(1));
570 asl.set(
[all...]

Completed in 594 milliseconds

12