GroupWithLeader

interface GroupWithLeader<T, N : Node<T>> : Group<T> (source)

A group with a special member acting as a leader.

Inheritors

Properties

Link copied to clipboard
abstract val leader: N

The leader of the group.

Link copied to clipboard
open val members: List<Node<T>>

The list of pedestrians belonging to this group.

Link copied to clipboard
abstract override val size: Int

Functions

Link copied to clipboard
abstract override fun add(element: Node<T>): Boolean
abstract fun add(index: Int, element: Node<T>)
Link copied to clipboard
abstract override fun addAll(elements: Collection<Node<T>>): Boolean
abstract fun addAll(index: Int, elements: Collection<Node<T>>): Boolean
Link copied to clipboard
abstract override fun clear()
Link copied to clipboard
abstract operator override fun contains(element: Node<T>): Boolean
Link copied to clipboard
abstract override fun containsAll(elements: Collection<Node<T>>): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in Node<T>>)
Link copied to clipboard
abstract operator fun get(index: Int): Node<T>
Link copied to clipboard
abstract fun indexOf(element: Node<T>): Int
Link copied to clipboard
abstract override fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): Iterator<Node<T>>
Link copied to clipboard
abstract fun lastIndexOf(element: Node<T>): Int
Link copied to clipboard
abstract override fun listIterator(): MutableListIterator<Node<T>>
abstract override fun listIterator(index: Int): MutableListIterator<Node<T>>
Link copied to clipboard
open fun parallelStream(): Stream<Node<T>>
Link copied to clipboard
abstract override fun remove(element: Node<T>): Boolean
Link copied to clipboard
abstract override fun removeAll(elements: Collection<Node<T>>): Boolean
Link copied to clipboard
abstract fun removeAt(index: Int): Node<T>
Link copied to clipboard
open fun removeIf(p0: Predicate<in Node<T>>): Boolean
Link copied to clipboard
open fun replaceAll(p0: UnaryOperator<Node<T>>)
Link copied to clipboard
abstract override fun retainAll(elements: Collection<Node<T>>): Boolean
Link copied to clipboard
abstract operator fun set(index: Int, element: Node<T>): Node<T>
Link copied to clipboard
open fun sort(p0: Comparator<in Node<T>>)
Link copied to clipboard
open override fun spliterator(): Spliterator<Node<T>>
Link copied to clipboard
open fun stream(): Stream<Node<T>>
Link copied to clipboard
abstract override fun subList(fromIndex: Int, toIndex: Int): MutableList<Node<T>>
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>