Implement Method#getDefaultValue()

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Make sure that Proxy instances of annotations inherit the default values

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement Collections#sort

This is really a verbatim translation of Arrays#sort.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Provide the ThreadFactory interface

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement LinkedHashMap

This implementation is intentionally simple. If and when the need arises,
we can always implement a more performant version.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement LinkedHashSet

This implementation is intentionally simple. If and when the need arises,
we can always implement a more performant version.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use the default value in annotations' proxies

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement Collections#binarySearch

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Provide the Future interface

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement Class#getDeclaredClasses

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement DataInputStream

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix DataOutputStream#writeUTF

This developer did not read the specs closely enough and missed that
the length of the byte array needs to be written out first, so that
DataInputStream#readUTF has a chance of reading the string back.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement Collections#reverse

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement TreeSet#descendingIterator

If need be, this functionality can be sped up by implementing a
descending iterator on the tree without copying it into an ArrayList.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement ArrayList#ensureCapacity

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Refactor Pattern / Matcher classes

This makes both the Pattern and the Matcher class abstract so that more
specialized patterns than the trivial patterns we support so far can be
implemented as convenient subclasses of the respective abstract base
classes.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement a Pattern for simple character classes

This adds support for single-letter patterns such as "[^0-9]".

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
wip

wip