public interface StringInterner
Binding
instances. The internal cache of interned strings id
cleared whenever the ComponentClasses
InvalidationEventHub
is invalidated (i.e., when component class files change).Modifier and Type | Method and Description |
---|---|
String |
format(String format,
Object... arguments)
Formats a string (using
String.format(String, Object[]) ) and returns the interned result. |
String |
intern(String string)
Interns a string.
|
String intern(String string)
string
- the string to internString format(String format, Object... arguments)
String.format(String, Object[])
) and returns the interned result.format
- string formatarguments
- used inside the format5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.