java.lang.Object | |
↳ | com.microstrategy.utils.StringStore |
A helper class that can be used to locally internalize strings.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StringStore() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getCount()
Returns number of times the intern method was called.
| ||||||||||
int |
getSize()
Return the total number of values in the store.
| ||||||||||
String |
intern(String value)
If the given value already present in the internal hash map then it will return
the value from the map.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns number of times the intern method was called.
Return the total number of values in the store.
If the given value already present in the internal hash map then it will return the value from the map. Otherwise the given value will be added to the map and then returned as the method result.