|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ctc.wstx.compat.JdkImpl
com.ctc.wstx.compat.Jdk12Impl
com.ctc.wstx.compat.Jdk13Impl
com.ctc.wstx.compat.Jdk14Impl
public class Jdk14Impl
JDK 1.4 compatible implementation; adds support for setting Exception
root cause, as well as for java.util.LinkedHashMap
.
Constructor Summary | |
---|---|
|
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) |
Method Summary | |
---|---|
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... |
Methods inherited from class com.ctc.wstx.compat.Jdk13Impl |
---|
getEmptyList, getEmptyMap, getEmptySet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jdk14Impl()
protected Jdk14Impl(boolean dummy)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |