< prev index next >
src/java.base/share/classes/java/util/concurrent/atomic/package-info.java
Print this page
8234131: Miscellaneous changes imported from jsr166 CVS 2020-12
Reviewed-by: martin
@@ -52,11 +52,11 @@
* application is to generate sequence numbers, as in:
*
* <pre> {@code
* class Sequencer {
* private final AtomicLong sequenceNumber
- * = new AtomicLong(0);
+ * = new AtomicLong(17);
* public long next() {
* return sequenceNumber.getAndIncrement();
* }
* }}</pre>
*
< prev index next >