toggle menu
alchemist
35.0.2
jvm
switch theme
search in API
alchemist-cognitive-agents
/
it.unibo.alchemist.model.cognitive.groups
/
Alone
Alone
class
Alone
<
T
>
(
node
:
Node
<
T
>
)
:
Group
<
T
>
,
MutableList
<
Node
<
T
>
>
(
source
)
Group representing a node alone.
Members
Constructors
Alone
Link copied to clipboard
constructor
(
node
:
Node
<
T
>
)
Properties
members
Link copied to clipboard
open
val
members
:
List
<
Node
<
T
>
>
The list of pedestrians belonging to this group.
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
add
Link copied to clipboard
open
override
fun
add
(
element
:
Node
<
T
>
)
:
Boolean
open
override
fun
add
(
index
:
Int
,
element
:
Node
<
T
>
)
add
All
Link copied to clipboard
open
override
fun
addAll
(
elements
:
Collection
<
Node
<
T
>
>
)
:
Boolean
open
override
fun
addAll
(
index
:
Int
,
elements
:
Collection
<
Node
<
T
>
>
)
:
Boolean
clear
Link copied to clipboard
open
override
fun
clear
(
)
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
Node
<
T
>
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
Node
<
T
>
>
)
:
Boolean
for
Each
Link copied to clipboard
open
fun
forEach
(
p0
:
Consumer
<
in
Node
<
T
>
>
)
get
Link copied to clipboard
open
operator override
fun
get
(
index
:
Int
)
:
Node
<
T
>
index
Of
Link copied to clipboard
open
override
fun
indexOf
(
element
:
Node
<
T
>
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
MutableIterator
<
Node
<
T
>
>
last
Index
Of
Link copied to clipboard
open
override
fun
lastIndexOf
(
element
:
Node
<
T
>
)
:
Int
list
Iterator
Link copied to clipboard
open
override
fun
listIterator
(
)
:
MutableListIterator
<
Node
<
T
>
>
open
override
fun
listIterator
(
index
:
Int
)
:
MutableListIterator
<
Node
<
T
>
>
parallel
Stream
Link copied to clipboard
open
fun
parallelStream
(
)
:
Stream
<
Node
<
T
>
>
remove
Link copied to clipboard
open
override
fun
remove
(
element
:
Node
<
T
>
)
:
Boolean
remove
All
Link copied to clipboard
open
override
fun
removeAll
(
elements
:
Collection
<
Node
<
T
>
>
)
:
Boolean
remove
At
Link copied to clipboard
open
override
fun
removeAt
(
index
:
Int
)
:
Node
<
T
>
remove
If
Link copied to clipboard
open
fun
removeIf
(
p0
:
Predicate
<
in
Node
<
T
>
>
)
:
Boolean
replace
All
Link copied to clipboard
open
fun
replaceAll
(
p0
:
UnaryOperator
<
Node
<
T
>
>
)
retain
All
Link copied to clipboard
open
override
fun
retainAll
(
elements
:
Collection
<
Node
<
T
>
>
)
:
Boolean
set
Link copied to clipboard
open
operator override
fun
set
(
index
:
Int
,
element
:
Node
<
T
>
)
:
Node
<
T
>
sort
Link copied to clipboard
open
fun
sort
(
p0
:
Comparator
<
in
Node
<
T
>
>
)
spliterator
Link copied to clipboard
open
override
fun
spliterator
(
)
:
Spliterator
<
Node
<
T
>
>
stream
Link copied to clipboard
open
fun
stream
(
)
:
Stream
<
Node
<
T
>
>
sub
List
Link copied to clipboard
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
MutableList
<
Node
<
T
>
>
to
Array
Link copied to clipboard
open
fun
<
T
:
Any
>
toArray
(
p0
:
IntFunction
<
Array
<
T
>
>
)
:
Array
<
T
>