org.gudy.azureus2.core3.config.impl
Class StringListImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.config.impl.StringListImpl
All Implemented Interfaces:
StringList

public class StringListImpl
extends java.lang.Object
implements StringList

Author:
Olivier Chalouhi

Constructor Summary
StringListImpl()
           
StringListImpl(java.util.Collection _list)
           
StringListImpl(StringListImpl _list)
           
 
Method Summary
 void add(int index, java.lang.String str)
           
 void add(java.lang.String str)
           
 void clear()
           
 boolean contains(java.lang.String str)
           
 java.lang.String get(int i)
           
 int indexOf(java.lang.String str)
           
 StringIterator iterator()
           
 java.lang.String remove(int index)
           
 int size()
           
 java.lang.String[] toArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringListImpl

public StringListImpl()

StringListImpl

public StringListImpl(StringListImpl _list)

StringListImpl

public StringListImpl(java.util.Collection _list)
Method Detail

size

public int size()
Specified by:
size in interface StringList

get

public java.lang.String get(int i)
Specified by:
get in interface StringList

add

public void add(java.lang.String str)
Specified by:
add in interface StringList

add

public void add(int index,
                java.lang.String str)
Specified by:
add in interface StringList

iterator

public StringIterator iterator()
Specified by:
iterator in interface StringList

indexOf

public int indexOf(java.lang.String str)
Specified by:
indexOf in interface StringList

contains

public boolean contains(java.lang.String str)
Specified by:
contains in interface StringList

remove

public java.lang.String remove(int index)
Specified by:
remove in interface StringList

toArray

public java.lang.String[] toArray()
Specified by:
toArray in interface StringList

clear

public void clear()
Specified by:
clear in interface StringList