|
|||||||||
| 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
public class Jdk12Impl
JDK 1.2 compatible basic vanilla no-frills implementation of
JdkImpl. Also sed as
the base class for most other wrappers as well.
| Constructor Summary | |
|---|---|
|
Jdk12Impl()
Constructor used for creating 'real' instance; creates the shared data structs needed. |
protected |
Jdk12Impl(boolean dummy)
Constructor derived classes call to avoid creation of helper Objects 'real' instance needs |
| Method Summary | |
|---|---|
java.util.List |
getEmptyList()
|
java.util.Map |
getEmptyMap()
|
java.util.Set |
getEmptySet()
|
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()
For 1.2, ThreadLocal actually does work correctly, although slowly (slow due to extra locking). |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Jdk12Impl()
protected Jdk12Impl(boolean dummy)
| Method Detail |
|---|
public boolean leakingThreadLocal()
leakingThreadLocal in class JdkImplpublic java.util.List getEmptyList()
getEmptyList in class JdkImplpublic java.util.Map getEmptyMap()
getEmptyMap in class JdkImplpublic java.util.Set getEmptySet()
getEmptySet in class JdkImplpublic java.util.HashMap getInsertOrderedMap()
getInsertOrderedMap in class JdkImplpublic java.util.HashMap getInsertOrderedMap(int initialSize)
getInsertOrderedMap in class JdkImplpublic java.util.HashMap getLRULimitMap(int maxSize)
getLRULimitMap in class JdkImpl
public boolean setInitCause(java.lang.Throwable newT,
java.lang.Throwable rootT)
setInitCause in class JdkImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||