Package de.tudresden.sumo.objects
Class SumoStringList
java.lang.Object
de.tudresden.sumo.objects.SumoStringList
- All Implemented Interfaces:
SumoObject,Serializable,Iterable<String>,Collection<String>,List<String>,SequencedCollection<String>
- Author:
- Mario Krumnow
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends String> elements) booleanaddAll(Collection<? extends String> elements) voidclear()booleanbooleancontainsAll(Collection<?> elements) get(int index) intbooleanisEmpty()iterator()intlastIndexOf(Object element) listIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> elements) booleanretainAll(Collection<?> elements) intsize()subList(int from, int to) Object[]toArray()<T> T[]toArray(T[] element) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
SumoStringList
public SumoStringList() -
SumoStringList
-
-
Method Details
-
add
-
addAll
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<String>- Specified by:
containsAllin interfaceList<String>
-
get
-
indexOf
-
isEmpty
public boolean isEmpty() -
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<String>
-
listIterator
- Specified by:
listIteratorin interfaceList<String>
-
listIterator
- Specified by:
listIteratorin interfaceList<String>
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
size
public int size() -
subList
-
toArray
-
toArray
public <T> T[] toArray(T[] element) -
add
-
iterator
-
toString
-