# | Line 224 | Line 224 | package jsr166e; | |
---|---|---|
224 | * public static <E> E search(E[] array) { | |
225 | * return new Searcher<E>(null, array, new AtomicReference<E>(), 0, array.length).invoke(); | |
226 | * } | |
227 | < | *}}</pre> |
227 | > | * }}</pre> |
228 | * | |
229 | * In this example, as well as others in which tasks have no other | |
230 | * effects except to compareAndSet a common result, the trailing |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |