accommodate 8229997: Apply java.io.Serial annotations in java.base
reduce upstream diff for @since TBD replaceAll
Add portability layer for new location of SharedSecrets in JDK-8211122
update to using jdk11 by default, except link to jdk10 javadocs; sync @docRoot references in javadoc with upstream
8206123: ArrayDeque created with default constructor can only hold 15 elements
new ArrayDeque(coll) should only call coll.size() once
sync 8174109: Better queuing priorities
Never overload public methods with private ones, so rename add => inc
typo
whitespace
8177789: fix collections framework links to point to java.util package doc
Redo @link and @linkplain; one @link was pointing to the wrong poll method
add javadoc for @inheritDoc
improve grow, circularClear
fix AIOOBE in parallelStream
code golf
code golf
tryAdvance: yet another code sequence; gives us 20% on IteratorMicroBenchmark
add implementation comment
slightly cleaner code
slightly clearer code
slightly clearer code
use Remi's rule: use a method reference if you can and a lambda otherwise
revert overkill optimization without benchmark support
fix behavior with huge capacities; add more explanations
Tolerate reentrant read access in removeIf
prefer local to field access
elide parens in unary lambdas
prefer > in descending loops to appease hotspot JIT; improves IteratorMicroBenchmark:ArrayDeque.descendingIterator().forEachRemaining()
inline last() into its only remaining caller
loop down to head instead of head - 1
removeLastOccurrence: fix off-by-one
switch back to head/tail instead of head/size
grow() should return elements array
optimize removeIf, especially for no modifications
tweak todo loops
toArray: slightly more elegant
toArray: use new todo == 0 fancy loop
rename clearSlice -> circularClear
Rename local variable elements -> es and other minor changes
null actions should throw NPE even when nothing to do
don't reuse field names for parameter names
don't reuse field names for parameter names
only shadow fields with final locals
loop variable fiddling
a wee bit more code compacting
code compaction
use <= 0 instead of == 0 to help VM
rename some locals
optimization pass, especially for bulk operations
make elementAt private
addAll should use c.forEach
fix toArray integer overflow
fix bug when c.toArray().getClass() != Object[].class
rename local x -> e
fix placement of checkInvariants()
slowpaths for addFirst, addLast
avoid bimorphic call in Iterator.forEachRemaining
switch future methods to @since TBD
no new public methods in jdk 9
removeIf: elide unnecessary tail copy
forEachRemaining should consume all remaining elements even when action fails
ArrayDeque#spliterator is late-binding
JDK-8167202: ArrayDeque improvements
use standard javadoc at-clause order
javadoc first sentence
use concrete return types for trySplit methods to help VM
kill another bridge method
whitespace
merge upstream changes
merge upstream changes
use diamond
35-bytecode golf
tighter bytecode
Use local variable
standardize code sample idiom: * <pre> {@code
remove unused/redundant imports
standardize import statement order
this collection => this XXX
save a few bytes of bytecode
save a few bytes of bytecode
javadoc warning fixes: add serialization method @throws
javadoc warning fixes: add serialization method @param
port to latest lambda
conform to updated lambda Spliterator
Synch with lambda Spliterator API
promote comments to actual javadoc
sync javadoc
optimize toArray methods
javadoc style
whitespace
Spliterator sync
javadoc link readability
Use new java.util.function names
Spliterators
<tt> -> {@code
whitespace
lambda-lib support
<tt> -> @code
use third person in javadoc first sentence
uniform serialization method javadocs
@SuppressWarnings on its own line of code
whitespace
avoid introducing locals just for warning suppression
fix javac warnings
consistent style for code snippets
consistent style for serialization methods
Update Creative Commons license URL in legal notices
Sync with OpenJDK; untabify
Location of Collections Guide has changed
6359954: More opportunities to use Arrays.copyOf
6378729: Remove workaround for 6280605
iterator cleanup
checkInvariants
Delete old delete
Faster delete, continued
Faster delete, continued
Fater delete, continued
Faster delete
Incorporate review suggestions
doc fixes
Fix/Clarify descendingIterator
Add Deque.descendingIterator
doc fixes
doc fixes
whitespace removal
doc fixes
toArray
doc fixes
doc fixes
doc fixes
doc fixes
Documentation improvements
Repair typos and minor doc improvements
Copyedit pass
Copyedit pass
Copyedit pass
Prepare jsr166x classes for Mustang integration
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.