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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends String> elements) boolean
addAll
(Collection<? extends String> elements) void
clear()
boolean
boolean
containsAll
(Collection<?> elements) get
(int index) int
boolean
isEmpty()
iterator()
int
lastIndexOf
(Object element) listIterator
(int index) remove
(int index) boolean
boolean
removeAll
(Collection<?> elements) boolean
retainAll
(Collection<?> elements) int
size()
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, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
containsAll
in interfaceCollection<String>
- Specified by:
containsAll
in interfaceList<String>
-
get
-
indexOf
-
isEmpty
public boolean isEmpty() -
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<String>
-
listIterator
- Specified by:
listIterator
in interfaceList<String>
-
listIterator
- Specified by:
listIterator
in interfaceList<String>
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
size
public int size() -
subList
-
toArray
-
toArray
public <T> T[] toArray(T[] element) -
add
-
iterator
-
toString
-