public class

StringStore

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.StringStore

Class Overview

A helper class that can be used to locally internalize strings.

Summary

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
From class java.lang.Object

Public Constructors

public StringStore ()

Public Methods

public int getCount ()

Returns number of times the intern method was called.

public int getSize ()

Return the total number of values in the store.

public String intern (String value)

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.