Package de.tudresden.sumo.objects
Class SumoLinkList
- java.lang.Object
-
- de.tudresden.sumo.objects.SumoLinkList
-
- All Implemented Interfaces:
SumoObject,Serializable,Iterable<SumoLink>,Collection<SumoLink>,List<SumoLink>
public class SumoLinkList extends Object implements List<SumoLink>, Serializable, SumoObject
- Author:
- Mario Krumnow
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SumoLinkList()SumoLinkList(List<SumoLink> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, SumoLink element)booleanadd(SumoLink element)booleanaddAll(int index, Collection<? extends SumoLink> elements)booleanaddAll(Collection<? extends SumoLink> elements)voidclear()booleancontains(Object element)booleancontainsAll(Collection<?> elements)SumoLinkget(int index)intindexOf(Object element)booleanisEmpty()Iterator<SumoLink>iterator()intlastIndexOf(Object element)ListIterator<SumoLink>listIterator()ListIterator<SumoLink>listIterator(int index)SumoLinkremove(int index)booleanremove(Object element)booleanremoveAll(Collection<?> elements)booleanretainAll(Collection<?> elements)SumoLinkset(int index, SumoLink element)intsize()List<SumoLink>subList(int from, int to)Object[]toArray()<T> T[]toArray(T[] element)StringtoString()-
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
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
addAll
public boolean addAll(Collection<? extends SumoLink> elements)
-
addAll
public boolean addAll(int index, Collection<? extends SumoLink> elements)
-
clear
public void clear()
-
contains
public boolean contains(Object element)
-
containsAll
public boolean containsAll(Collection<?> elements)
- Specified by:
containsAllin interfaceCollection<SumoLink>- Specified by:
containsAllin interfaceList<SumoLink>
-
isEmpty
public boolean isEmpty()
-
lastIndexOf
public int lastIndexOf(Object element)
- Specified by:
lastIndexOfin interfaceList<SumoLink>
-
listIterator
public ListIterator<SumoLink> listIterator()
- Specified by:
listIteratorin interfaceList<SumoLink>
-
listIterator
public ListIterator<SumoLink> listIterator(int index)
- Specified by:
listIteratorin interfaceList<SumoLink>
-
remove
public boolean remove(Object element)
-
removeAll
public boolean removeAll(Collection<?> elements)
-
retainAll
public boolean retainAll(Collection<?> elements)
-
size
public int size()
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] element)
-
add
public boolean add(SumoLink element)
-
-