net.sourceforge.chaperon.common
Class StringSet
java.lang.Object
net.sourceforge.chaperon.common.StringSet
- public class StringSet
- extends java.lang.Object
This class represents a set of strings.
- Version:
- CVS $Id: StringSet.java,v 1.2 2003/12/14 09:53:56 benedikta Exp $
- Author:
- Stephan Michels
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringSet
public StringSet()
StringSet
public StringSet(java.lang.String[] strings)
addString
public boolean addString(java.lang.String string)
addString
public boolean addString(StringSet set)
addString
public boolean addString(java.lang.String[] set)
getString
public java.lang.String getString(int index)
- Returns a string given by an index.
- Parameters:
index
- Index of the string
- Returns:
- String
getString
public java.lang.String[] getString()
getStringCount
public int getStringCount()
- Return the count of string in this list.
- Returns:
- Count of string.
isEmpty
public boolean isEmpty()
contains
public boolean contains(java.lang.String string)
equals
public boolean equals(java.lang.Object o)
toString
public java.lang.String toString()
Copyright ? 2003 Chaperon project. All Rights Reserved.