com.google.gwt.user.client.rpc
Interface StringTable

All Known Implementing Classes:
SerializationStream

public interface StringTable

Interface for manipulating a string table.


Method Summary
 int addString(String string)
          Add a string to this string table.
 String getString(int index)
          Get the string that is associated with the requested index.
 int getStringCount()
          Get the number of strings in the table.
 

Method Detail

addString

public int addString(String string)
Add a string to this string table. Returns the index assigned to this string in the table.

Parameters:
string -
Returns:
index of the string in the string table

getString

public String getString(int index)
Get the string that is associated with the requested index.

Parameters:
index -
Returns:
String associated with the requested index

getStringCount

public int getStringCount()
Get the number of strings in the table.

Returns:
the number of strings in the string table.


This javadoc distribution was not produced by Google. The official documentation is here.