Package net.pdevita.creeperheal2.data
Class MergeableLinkedList
-
- All Implemented Interfaces:
-
kotlin.collections.Collection,kotlin.collections.Iterable,kotlin.collections.List,kotlin.collections.MutableCollection,kotlin.collections.MutableIterable,kotlin.collections.MutableList
public final class MergeableLinkedList<T extends Object> implements List<T>
-
-
Constructor Summary
Constructors Constructor Description MergeableLinkedList()MergeableLinkedList(Collection<T> elements)
-
Method Summary
Modifier and Type Method Description IntegergetSize()UnitsetSize(Integer size)Booleanadd(T element)Unitadd(Integer index, T element)BooleanaddAll(Collection<T> elements)BooleanaddAll(Integer index, Collection<T> elements)final Tpeek()final Tpoll()Booleancontains(T element)BooleancontainsAll(Collection<T> elements)BooleanisEmpty()Unitclear()Iterator<T>iterator()Booleanremove(T element)BooleanremoveAll(Collection<T> elements)BooleanretainAll(Collection<T> elements)final Unitappend(MergeableLinkedList<T> other)Tget(Integer index)IntegerindexOf(T element)IntegerlastIndexOf(T element)ListIterator<T>listIterator()ListIterator<T>listIterator(Integer index)TremoveAt(Integer index)Tset(Integer index, T element)List<T>subList(Integer fromIndex, Integer toIndex)final UnitduplicateCheck()-
Methods inherited from class kotlin.collections.Iterable
forEach -
Methods inherited from class kotlin.collections.Collection
parallelStream, stream, toArray -
Methods inherited from class kotlin.collections.MutableCollection
removeIf -
Methods inherited from class kotlin.collections.MutableList
replaceAll, sort -
Methods inherited from class kotlin.collections.List
spliterator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MergeableLinkedList
MergeableLinkedList()
-
MergeableLinkedList
MergeableLinkedList(Collection<T> elements)
-
-
Method Detail
-
addAll
Boolean addAll(Collection<T> elements)
-
addAll
Boolean addAll(Integer index, Collection<T> elements)
-
containsAll
Boolean containsAll(Collection<T> elements)
-
removeAll
Boolean removeAll(Collection<T> elements)
-
retainAll
Boolean retainAll(Collection<T> elements)
-
append
final Unit append(MergeableLinkedList<T> other)
-
lastIndexOf
Integer lastIndexOf(T element)
-
listIterator
ListIterator<T> listIterator()
-
listIterator
ListIterator<T> listIterator(Integer index)
-
duplicateCheck
final Unit duplicateCheck()
-
-
-
-