EXIficient

com.siemens.ct.exi.datatype.stringtable
Class StringTablePartitionDecoderImpl

java.lang.Object
  extended by com.siemens.ct.exi.datatype.stringtable.StringTablePartitionDecoderImpl
All Implemented Interfaces:
StringTablePartition, StringTablePartitionDecoder

public class StringTablePartitionDecoderImpl
extends java.lang.Object
implements StringTablePartitionDecoder

TODO Description

Version:
0.3.20081009
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Constructor Summary
StringTablePartitionDecoderImpl()
          Create a new string table.
 
Method Summary
 void add(java.lang.String value)
          Add a record to the table
 int getSize()
          Get the current size (number of strings) in the table.
 java.lang.String getValue(int index)
          Get string at given index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTablePartitionDecoderImpl

public StringTablePartitionDecoderImpl()
Create a new string table.

Method Detail

add

public void add(java.lang.String value)
Add a record to the table

Specified by:
add in interface StringTablePartition
Parameters:
value - - value to insert.

getSize

public int getSize()
Get the current size (number of strings) in the table.

Specified by:
getSize in interface StringTablePartition

getValue

public java.lang.String getValue(int index)
Get string at given index.

Specified by:
getValue in interface StringTablePartitionDecoder

EXIficient