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 Integer
getSize()
Unit
setSize(Integer size)
Boolean
add(T element)
Unit
add(Integer index, T element)
Boolean
addAll(Collection<T> elements)
Boolean
addAll(Integer index, Collection<T> elements)
final T
peek()
final T
poll()
Boolean
contains(T element)
Boolean
containsAll(Collection<T> elements)
Boolean
isEmpty()
Unit
clear()
Iterator<T>
iterator()
Boolean
remove(T element)
Boolean
removeAll(Collection<T> elements)
Boolean
retainAll(Collection<T> elements)
final Unit
append(MergeableLinkedList<T> other)
T
get(Integer index)
Integer
indexOf(T element)
Integer
lastIndexOf(T element)
ListIterator<T>
listIterator()
ListIterator<T>
listIterator(Integer index)
T
removeAt(Integer index)
T
set(Integer index, T element)
List<T>
subList(Integer fromIndex, Integer toIndex)
final Unit
duplicateCheck()
-
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()
-
-
-
-