org.indy.util
Class StringList

java.lang.Object
  |
  +--org.indy.util.StringList

public final class StringList
extends java.lang.Object

This class IS NOT thread safe.

Author:
owen

Constructor Summary
StringList()
           
 
Method Summary
 int add(java.lang.String s)
          Description of the Method
 void addStrings(StringList strings)
          Adds a feature to the Strings attribute of the IdStrings object
 void append(java.lang.String s)
          Description of the Method
 void clear()
          Description of the Method
 void copy(StringList strings)
          Description of the Method
 java.lang.String get(int index)
          Description of the Method
 java.lang.String getText()
          Gets the text attribute of the IdStrings object
 int indexOf(java.lang.String s)
          Description of the Method
 void insert(java.lang.String s, int index)
          Description of the Method
 void remove(int index)
          Description of the Method
 void remove(java.lang.String s)
          Description of the Method
 void replace(java.lang.String s, int index)
          Description of the Method
 void setText(java.lang.String data)
          Sets the text attribute of the IdStrings object
 int size()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringList

public StringList()
Method Detail

setText

public void setText(java.lang.String data)
Sets the text attribute of the IdStrings object
Parameters:
data - The new text value

getText

public java.lang.String getText()
Gets the text attribute of the IdStrings object
Returns:
The text value

get

public java.lang.String get(int index)
Description of the Method
Parameters:
index - Description of the Parameter
Returns:
Description of the Return Value

copy

public void copy(StringList strings)
Description of the Method
Parameters:
strings - Description of the Parameter

size

public int size()
Description of the Method
Returns:
Description of the Return Value

add

public int add(java.lang.String s)
Description of the Method
Parameters:
s - Description of the Parameter
Returns:
Description of the Return Value

append

public void append(java.lang.String s)
Description of the Method
Parameters:
s - Description of the Parameter

addStrings

public void addStrings(StringList strings)
Adds a feature to the Strings attribute of the IdStrings object
Parameters:
strings - The feature to be added to the Strings attribute

clear

public void clear()
Description of the Method

replace

public void replace(java.lang.String s,
                    int index)
Description of the Method
Parameters:
s - Description of the Parameter
index - Description of the Parameter

remove

public void remove(int index)
Description of the Method
Parameters:
index - Description of the Parameter

remove

public void remove(java.lang.String s)
Description of the Method
Parameters:
s - Description of the Parameter

indexOf

public int indexOf(java.lang.String s)
Description of the Method
Parameters:
s - Description of the Parameter
Returns:
Description of the Return Value

insert

public void insert(java.lang.String s,
                   int index)
Description of the Method
Parameters:
s - Description of the Parameter
index - Description of the Parameter


Copyright © 2002-2002 IndyJ. All Rights Reserved.