SimpleStringInternerpublic class StringInterner extends Object
| Constructor | Description |
|---|---|
StringInterner() |
| Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.