public class Jdk14Impl extends Jdk13Impl
java.util.LinkedHashMap.| Modifier | Constructor and Description |
|---|---|
|
Jdk14Impl()
Constructor used for creating 'real' instance.
|
protected |
Jdk14Impl(boolean dummy)
Constructor derived classes call to avoid creation of helper
Objects 'real' instance needs (if any)
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap |
getInsertOrderedMap()
Alas, 1.2 doesn't have LinkedHashMap; only available from 1.4+, so
let's just create a standard HashMap.
|
java.util.HashMap |
getInsertOrderedMap(int initialSize)
Alas, 1.2 doesn't have LinkedHashMap; only available from 1.4+, so
let's just create a standard HashMap.
|
java.util.HashMap |
getLRULimitMap(int maxSize)
1.2 doesn't have LinkedHashMap, so as usual, let's just create a
HashMap
|
boolean |
leakingThreadLocal()
1.4 finally has correct AND fast ThreadLocal implementation.
|
boolean |
setInitCause(java.lang.Throwable newT,
java.lang.Throwable rootT)
Too bad it's only 1.4+ that can set the root cause...
|
getEmptyList, getEmptyMap, getEmptySetpublic Jdk14Impl()
protected Jdk14Impl(boolean dummy)
public final boolean leakingThreadLocal()
leakingThreadLocal in class Jdk13Implpublic java.util.HashMap getInsertOrderedMap()
Jdk12ImplgetInsertOrderedMap in class Jdk12Implpublic java.util.HashMap getInsertOrderedMap(int initialSize)
Jdk12ImplgetInsertOrderedMap in class Jdk12Implpublic java.util.HashMap getLRULimitMap(int maxSize)
Jdk12ImplgetLRULimitMap in class Jdk12Implpublic boolean setInitCause(java.lang.Throwable newT,
java.lang.Throwable rootT)
Jdk12ImplsetInitCause in class Jdk12Impl