/libcore/ojluni/src/main/java/java/util/stream/ |
D | Stream.java | 151 public interface Stream<T> extends BaseStream<T, Stream<T>> { 166 Stream<T> filter(Predicate<? super T> predicate); in filter() 181 <R> Stream<R> map(Function<? super T, ? extends R> mapper); in map() argument 195 IntStream mapToInt(ToIntFunction<? super T> mapper); in mapToInt() 209 LongStream mapToLong(ToLongFunction<? super T> mapper); in mapToLong() 223 DoubleStream mapToDouble(ToDoubleFunction<? super T> mapper); in mapToDouble() 267 <R> Stream<R> flatMap(Function<? super T, ? extends Stream<? extends R>> mapper); in flatMap() argument 287 IntStream flatMapToInt(Function<? super T, ? extends IntStream> mapper); in flatMapToInt() argument 307 LongStream flatMapToLong(Function<? super T, ? extends LongStream> mapper); in flatMapToLong() argument 327 DoubleStream flatMapToDouble(Function<? super T, ? extends DoubleStream> mapper); in flatMapToDouble() argument [all …]
|
D | Collectors.java | 132 private static <T> BinaryOperator<T> throwingMerger() { in throwingMerger() 147 static class CollectorImpl<T, A, R> implements Collector<T, A, R> { 149 private final BiConsumer<A, T> accumulator; 155 BiConsumer<A, T> accumulator, in CollectorImpl() 167 BiConsumer<A, T> accumulator, in CollectorImpl() 174 public BiConsumer<A, T> accumulator() { in accumulator() 211 public static <T, C extends Collection<T>> 212 Collector<T, ?, C> toCollection(Supplier<C> collectionFactory) { in toCollection() 213 return new CollectorImpl<>(collectionFactory, Collection<T>::add, in toCollection() 228 public static <T> [all …]
|
D | DistinctOps.java | 54 static <T> ReferencePipeline<T, T> makeRef(AbstractPipeline<?, T, ?> upstream) { in makeRef() argument 55 return new ReferencePipeline.StatefulOp<T, T>(upstream, StreamShape.REFERENCE, in makeRef() 58 <P_IN> Node<T> reduce(PipelineHelper<T> helper, Spliterator<P_IN> spliterator) { in makeRef() 61 TerminalOp<T, LinkedHashSet<T>> reduceOp in makeRef() 62 … = ReduceOps.<T, LinkedHashSet<T>>makeRef(LinkedHashSet::new, LinkedHashSet::add, in makeRef() 68 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in makeRef() 70 IntFunction<T[]> generator) { in makeRef() 81 ConcurrentHashMap<T, Boolean> map = new ConcurrentHashMap<>(); in makeRef() 82 TerminalOp<T, Void> forEachOp = ForEachOps.makeRef(t -> { in makeRef() 92 Set<T> keys = map.keySet(); in makeRef() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Comparator.java | 109 public interface Comparator<T> { 150 int compare(T o1, T o2); in compare() 184 default Comparator<T> reversed() { in reversed() 213 default Comparator<T> thenComparing(Comparator<? super T> other) { in thenComparing() 215 return (Comparator<T> & Serializable) (c1, c2) -> { in thenComparing() 238 default <U> Comparator<T> thenComparing( in thenComparing() 239 Function<? super T, ? extends U> keyExtractor, in thenComparing() argument 262 default <U extends Comparable<? super U>> Comparator<T> thenComparing( in thenComparing() 263 Function<? super T, ? extends U> keyExtractor) in thenComparing() argument 283 default Comparator<T> thenComparingInt(ToIntFunction<? super T> keyExtractor) { in thenComparingInt() [all …]
|
D | Optional.java | 45 public final class Optional<T> { 54 private final T value; 78 public static<T> Optional<T> empty() { in empty() 80 Optional<T> t = (Optional<T>) EMPTY; in empty() 90 private Optional(T value) { in Optional() 102 public static <T> Optional<T> of(T value) { in of() 115 public static <T> Optional<T> ofNullable(T value) { in ofNullable() 128 public T get() { in get() 152 public void ifPresent(Consumer<? super T> consumer) { in ifPresent() 168 public Optional<T> filter(Predicate<? super T> predicate) { in filter() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | SpliteratorTester.java | 34 public static <T> void runBasicIterationTests(Spliterator<T> spliterator, in runBasicIterationTests() 35 ArrayList<T> expectedElements) { in runBasicIterationTests() 36 ArrayList<T> recorder = new ArrayList<T>(expectedElements.size()); in runBasicIterationTests() 37 Consumer<T> consumer = (T value) -> recorder.add(value); in runBasicIterationTests() 49 spliterator.forEachRemaining((T) -> fail()); in runBasicIterationTests() 52 public static <T> void runBasicIterationTests_unordered(Spliterator<T> spliterator, in runBasicIterationTests_unordered() 53 ArrayList<T> expectedElements, Comparator<T> comparator) { in runBasicIterationTests_unordered() 54 ArrayList<T> recorder = new ArrayList<T>(expectedElements.size()); in runBasicIterationTests_unordered() 55 Consumer<T> consumer = (T value) -> recorder.add(value); in runBasicIterationTests_unordered() 69 spliterator.forEachRemaining((T) -> fail()); in runBasicIterationTests_unordered() [all …]
|
D | ForEachRemainingTester.java | 36 public static <T> void runTests(Class<?> collectionClazz, T[] initialData) in runTests() 38 test_forEachRemaining((Collection<T>) collectionClazz.newInstance(), initialData); in runTests() 39 test_forEachRemaining_NPE((Collection<T>) collectionClazz.newInstance(), initialData); in runTests() 40 test_forEachRemaining_CME((Collection<T>) collectionClazz.newInstance(), initialData); in runTests() 43 List<T> asList = (List<T>) collectionClazz.newInstance(); in runTests() 50 public static <T> void test_forEachRemaining_list(List<T> collection, T[] initialData) in test_forEachRemaining_list() 54 ArrayList<T> recorder = new ArrayList<>(); in test_forEachRemaining_list() 55 ListIterator<T> lit = collection.listIterator(1); in test_forEachRemaining_list() 57 lit.forEachRemaining((T i) -> recorder.add(i)); in test_forEachRemaining_list() 66 public static <T> void test_forEachRemaining(Collection<T> collection, T[] initialData) in test_forEachRemaining() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | AccessController.java | 40 public static <T> T doPrivileged(PrivilegedAction<T> action) { in doPrivileged() 47 public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action) { in doPrivilegedWithCombiner() 55 public static <T> T doPrivileged(PrivilegedAction<T> action, in doPrivileged() 63 public static <T> T 64 doPrivileged(PrivilegedExceptionAction<T> action) in doPrivileged() 79 public static <T> T doPrivilegedWithCombiner in doPrivilegedWithCombiner() 80 (PrivilegedExceptionAction<T> action) throws PrivilegedActionException { in doPrivilegedWithCombiner() 88 public static <T> T 89 doPrivileged(PrivilegedExceptionAction<T> action, in doPrivileged()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ExecutorService.java | 197 <T> Future<T> submit(Callable<T> task); in submit() 212 <T> Future<T> submit(Runnable task, T result); in submit() 248 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() 279 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll() 302 <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() 328 <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny()
|
D | AbstractExecutorService.java | 63 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() 64 return new FutureTask<T>(runnable, value); in newTaskFor() 78 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() 79 return new FutureTask<T>(callable); in newTaskFor() 97 public <T> Future<T> submit(Runnable task, T result) { in submit() 99 RunnableFuture<T> ftask = newTaskFor(task, result); in submit() 108 public <T> Future<T> submit(Callable<T> task) { in submit() 110 RunnableFuture<T> ftask = newTaskFor(task); in submit() 118 private <T> T doInvokeAny(Collection<? extends Callable<T>> tasks, in doInvokeAny() 126 ArrayList<Future<T>> futures = new ArrayList<>(ntasks); in doInvokeAny() [all …]
|
D | CompletionStage.java | 122 public interface CompletionStage<T> { 141 public <U> CompletionStage<U> thenApply(Function<? super T,? extends U> fn); in thenApply() argument 158 (Function<? super T,? extends U> fn); in thenApplyAsync() argument 175 (Function<? super T,? extends U> fn, in thenApplyAsync() argument 190 public CompletionStage<Void> thenAccept(Consumer<? super T> action); in thenAccept() 205 public CompletionStage<Void> thenAcceptAsync(Consumer<? super T> action); in thenAcceptAsync() 220 public CompletionStage<Void> thenAcceptAsync(Consumer<? super T> action, in thenAcceptAsync() 281 BiFunction<? super T,? super U,? extends V> fn); in thenCombine() argument 301 BiFunction<? super T,? super U,? extends V> fn); in thenCombineAsync() argument 322 BiFunction<? super T,? super U,? extends V> fn, in thenCombineAsync() argument [all …]
|
D | Executors.java | 349 public static <T> Callable<T> callable(Runnable task, T result) { in callable() 352 return new RunnableAdapter<T>(task, result); in callable() 400 public static <T> Callable<T> privilegedCallable(Callable<T> callable) { 403 return new PrivilegedCallable<T>(callable); 409 public static <T> Callable<T> privilegedCallableUsingCurrentClassLoader(Callable<T> callable) { 412 return new PrivilegedCallableUsingCurrentClassLoader<T>(callable); 420 private static final class RunnableAdapter<T> implements Callable<T> { 422 private final T result; 423 RunnableAdapter(Runnable task, T result) { 427 public T call() { [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LongStreamTestScenario.java | 47 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 48 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 59 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 60 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() argument 68 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 69 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() argument 77 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 78 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() argument 86 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 87 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument [all …]
|
D | IntStreamTestScenario.java | 47 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 48 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 59 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 60 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() argument 68 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 69 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() argument 77 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 78 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() argument 86 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 87 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument [all …]
|
D | DoubleStreamTestScenario.java | 47 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 48 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 59 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 60 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() argument 68 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 69 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() argument 77 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 78 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() argument 86 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 87 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument [all …]
|
D | StreamTestScenario.java | 46 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 47 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 59 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_COLLECT() 60 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() argument 69 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 70 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() argument 79 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 80 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() argument 88 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 89 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() argument [all …]
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | IntStreamTestScenario.java | 50 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 51 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 62 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 63 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() argument 71 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 72 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() argument 80 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 81 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() argument 89 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 90 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument [all …]
|
D | DoubleStreamTestScenario.java | 51 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 52 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 63 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 64 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() argument 72 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 73 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() argument 81 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 82 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() argument 90 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 91 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument [all …]
|
D | LongStreamTestScenario.java | 50 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 51 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 62 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 63 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() argument 71 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 72 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() argument 80 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 81 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() argument 89 <T, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 90 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument [all …]
|
D | StreamTestScenario.java | 49 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_FOR_EACH_WITH_CLOSE() 50 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument 62 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_COLLECT() 63 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() argument 72 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_TO_ARRAY() 73 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() argument 82 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_ITERATOR() 83 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() argument 91 <T, U, S_IN extends BaseStream<T, S_IN>> in STREAM_SPLITERATOR() 92 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() argument [all …]
|
/libcore/luni/src/test/native/ |
D | libcore_io_Memory_test.cpp | 27 template<typename T, size_t NUM_ELEMENTS> 28 void swap_align_test(void (*swap_func)(T*, const T*, size_t), in swap_align_test() argument 29 std::function<void (T*, T*, uint64_t)> init_func) { in swap_align_test() argument 33 sizeof(T) * NUM_ELEMENTS + ALIGNMENT)); in swap_align_test() 35 sizeof(T) * NUM_ELEMENTS + ALIGNMENT)); in swap_align_test() 37 T src_buf[NUM_ELEMENTS]; in swap_align_test() 38 T dst_buf[NUM_ELEMENTS]; in swap_align_test() 45 T* dst_aligned = reinterpret_cast<T*>(&dst[dst_align]); in swap_align_test() 47 T* src_aligned = reinterpret_cast<T*>(&src[src_align]); in swap_align_test() 48 memset(dst_aligned, 0, sizeof(T) * NUM_ELEMENTS); in swap_align_test() [all …]
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotatedElements.java | 40 public static <T extends Annotation> T getDeclaredAnnotation(AnnotatedElement element, in getDeclaredAnnotation() 41 Class<T> annotationClass) { in getDeclaredAnnotation() 57 return (T)annotations[i]; // Safe because of above guard. in getDeclaredAnnotation() 72 public static <T extends Annotation> T[] getDeclaredAnnotationsByType(AnnotatedElement element, in getDeclaredAnnotationsByType() 73 Class<T> annotationClass) { in getDeclaredAnnotationsByType() 81 ArrayList<T> unfoldedAnnotations = new ArrayList<T>(); in getDeclaredAnnotationsByType() 89 unfoldedAnnotations.add((T)annotations[i]); // Safe, guarded by above check. in getDeclaredAnnotationsByType() 97 return unfoldedAnnotations.toArray((T[])Array.newInstance(annotationClass, 0)); in getDeclaredAnnotationsByType() 108 private static <T extends Annotation> void insertAnnotationValues(Annotation annotation, in insertAnnotationValues() 109 Class<T> annotationClass, ArrayList<T> unfoldedAnnotations) { in insertAnnotationValues() [all …]
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | AnnotatedElement.java | 91 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() 123 default <T extends Annotation> Annotation getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() 133 default <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) { in getDeclaredAnnotationsByType() 143 default <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) { in getAnnotationsByType()
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLongFieldUpdater.java | 38 public abstract class AtomicLongFieldUpdater<T> { 85 public abstract boolean compareAndSet(T obj, long expect, long update); in compareAndSet() 105 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet() 115 public abstract void set(T obj, long newValue); in set() 125 public abstract void lazySet(T obj, long newValue); in lazySet() 134 public abstract long get(T obj); in get() 144 public long getAndSet(T obj, long newValue) { in getAndSet() 159 public long getAndIncrement(T obj) { in getAndIncrement() 175 public long getAndDecrement(T obj) { in getAndDecrement() 192 public long getAndAdd(T obj, long delta) { in getAndAdd() [all …]
|
D | AtomicIntegerFieldUpdater.java | 38 public abstract class AtomicIntegerFieldUpdater<T> { 82 public abstract boolean compareAndSet(T obj, int expect, int update); in compareAndSet() 102 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet() 112 public abstract void set(T obj, int newValue); in set() 122 public abstract void lazySet(T obj, int newValue); in lazySet() 131 public abstract int get(T obj); in get() 141 public int getAndSet(T obj, int newValue) { in getAndSet() 156 public int getAndIncrement(T obj) { in getAndIncrement() 172 public int getAndDecrement(T obj) { in getAndDecrement() 189 public int getAndAdd(T obj, int delta) { in getAndAdd() [all …]
|