Class CharDeduplication
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.CharDeduplication
-
Field Summary
Modifier and TypeFieldDescriptionchar[][][][]
single threaded onlystatic int
static int
static int
-
Method Summary
Modifier and TypeMethodDescriptionstatic CharDeduplication
void
reset()
Deprecated.char[]
sharedCopyOfRange(char[] source, int from, int to)
like Arrays.copyOfRange(source, from, to) but returns a cached instance of the former result if available
-
Field Details
-
TABLE_SIZE
public static final int TABLE_SIZE- See Also:
- Constant Field Values
-
INTERNAL_TABLE_SIZE
public static final int INTERNAL_TABLE_SIZE- See Also:
- Constant Field Values
-
OPTIMIZED_LENGTH
public static final int OPTIMIZED_LENGTH- See Also:
- Constant Field Values
-
charArray_length
public final char[][][][] charArray_lengthsingle threaded only
-
-
Method Details
-
getThreadLocalInstance
- Returns:
- an instance that is *not* thread safe. To be used in a single thread only.
-
reset
Deprecated.public for test purpose only
-