public class StringInterner extends Object
Constructor and Description |
---|
StringInterner() |
Modifier and Type | Method and Description |
---|---|
String |
intern(char[] arr,
int offset,
int len)
Returns a single object instance for each equal string.
|
String |
intern(String s)
Returns a single object instance for each equal string.
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.