Interface GroupWithLeader

  • All Implemented Interfaces:
    it.unibo.alchemist.model.cognitive.Group , kotlin.collections.Collection , kotlin.collections.Iterable , kotlin.collections.List , kotlin.collections.MutableCollection , kotlin.collections.MutableIterable , kotlin.collections.MutableList

    
    public interface GroupWithLeader<T extends Object, N extends Node<T>>
     implements Group<T>
                        

    A group with a special member acting as a leader.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract N getLeader() The leader of the group.
      • Methods inherited from class kotlin.collections.MutableList

        add, add, addAll, addAll, clear, listIterator, listIterator, remove, removeAll, removeAt, replaceAll, retainAll, set, sort, subList
      • Methods inherited from class kotlin.collections.List

        contains, containsAll, get, getSize, indexOf, isEmpty, iterator, lastIndexOf, spliterator
      • 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 it.unibo.alchemist.model.cognitive.Group

        getMembers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getLeader

         abstract N getLeader()

        The leader of the group.