Class StringPool
java.lang.Object
org.jacoco.core.internal.analysis.StringPool
Utility to normalize
String instances in a way that if
equals() is true for two strings they will be
represented the same instance. While this is exactly what
String.intern() does, this implementation avoids VM specific side
effects and is supposed to be faster, as neither native code is called nor
synchronization is required for concurrent lookup.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_ARRAY
-
pool
-
-
Constructor Details
-
StringPool
public StringPool()
-
-
Method Details
-
get
-
get
-