com.ctc.wstx.compat
public abstract class JdkImpl extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
JdkImpl() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List |
getEmptyList() |
abstract java.util.Map |
getEmptyMap() |
abstract java.util.Set |
getEmptySet() |
abstract java.util.HashMap |
getInsertOrderedMap() |
abstract java.util.HashMap |
getInsertOrderedMap(int initialSize) |
abstract java.util.HashMap |
getLRULimitMap(int maxSize) |
abstract boolean |
leakingThreadLocal()
This method is used to check whether GC-friendly caching can be
implemented using
ThreadLocal . |
abstract boolean |
setInitCause(java.lang.Throwable newT,
java.lang.Throwable rootT)
Method that sets init cause of the specified Throwable to be
another specified Throwable.
|
public abstract boolean leakingThreadLocal()
ThreadLocal
. Some JDKs (notably,
JDK 1.3.x) have possibility for memory leaks, and when running on
them, such caching should not be used.public abstract java.util.List getEmptyList()
public abstract java.util.Map getEmptyMap()
public abstract java.util.Set getEmptySet()
public abstract java.util.HashMap getInsertOrderedMap()
public abstract java.util.HashMap getInsertOrderedMap(int initialSize)
public abstract java.util.HashMap getLRULimitMap(int maxSize)
public abstract boolean setInitCause(java.lang.Throwable newT, java.lang.Throwable rootT)