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, getEmptySet
public Jdk14Impl()
protected Jdk14Impl(boolean dummy)
public final boolean leakingThreadLocal()
leakingThreadLocal
in class Jdk13Impl
public java.util.HashMap getInsertOrderedMap()
Jdk12Impl
getInsertOrderedMap
in class Jdk12Impl
public java.util.HashMap getInsertOrderedMap(int initialSize)
Jdk12Impl
getInsertOrderedMap
in class Jdk12Impl
public java.util.HashMap getLRULimitMap(int maxSize)
Jdk12Impl
getLRULimitMap
in class Jdk12Impl
public boolean setInitCause(java.lang.Throwable newT, java.lang.Throwable rootT)
Jdk12Impl
setInitCause
in class Jdk12Impl