alchemist
alchemist
/
it.unibo.alchemist.model.implementations.nodes
/
IntegerNode
Integer
Node
abstract
class
IntegerNode
:
AbstractNode
<
Integer
>
Content copied to clipboard
Constructors
Functions
Constructors
Integer
Node
Link copied to clipboard
open
fun
IntegerNode
(
env
:
Environment
<
Integer
,
out
Any
>
)
Content copied to clipboard
Create a new integer node.
Functions
add
Reaction
Link copied to clipboard
fun
addReaction
(
reactionToAdd
:
Reaction
<
T
>
)
Content copied to clipboard
clone
Node
Link copied to clipboard
open
fun
cloneNode
(
currentTime
:
Time
)
:
AbstractNode
<
T
>
Content copied to clipboard
abstract
fun
cloneNode
(
p
:
Time
)
:
Node
<
T
>
Content copied to clipboard
compare
To
Link copied to clipboard
fun
compareTo
(
other
:
Node
<
T
>
)
:
Int
Content copied to clipboard
contains
Link copied to clipboard
open
fun
contains
(
molecule
:
Molecule
)
:
Boolean
Content copied to clipboard
equals
Link copied to clipboard
fun
equals
(
other
:
Any
)
:
Boolean
Content copied to clipboard
for
Each
Link copied to clipboard
fun
forEach
(
action
:
Consumer
<
out
Any
>
)
Content copied to clipboard
get
Concentration
Link copied to clipboard
open
fun
getConcentration
(
molecule
:
Molecule
)
:
T
Content copied to clipboard
get
Contents
Link copied to clipboard
open
fun
getContents
(
)
:
Map
<
Molecule
,
T
>
Content copied to clipboard
get
Id
Link copied to clipboard
fun
getId
(
)
:
Int
Content copied to clipboard
get
Molecule
Count
Link copied to clipboard
open
fun
getMoleculeCount
(
)
:
Int
Content copied to clipboard
get
Reactions
Link copied to clipboard
fun
getReactions
(
)
:
List
<
Reaction
<
T
>
>
Content copied to clipboard
hash
Code
Link copied to clipboard
fun
hashCode
(
)
:
Int
Content copied to clipboard
iterator
Link copied to clipboard
fun
iterator
(
)
:
Iterator
<
Reaction
<
T
>
>
Content copied to clipboard
abstract
fun
iterator
(
)
:
Iterator
<
T
>
Content copied to clipboard
remove
Concentration
Link copied to clipboard
open
fun
removeConcentration
(
moleculeToRemove
:
Molecule
)
Content copied to clipboard
remove
Reaction
Link copied to clipboard
fun
removeReaction
(
reactionToRemove
:
Reaction
<
T
>
)
Content copied to clipboard
set
Concentration
Link copied to clipboard
open
fun
setConcentration
(
molecule
:
Molecule
,
concentration
:
T
)
Content copied to clipboard
spliterator
Link copied to clipboard
fun
spliterator
(
)
:
Spliterator
<
Reaction
<
T
>
>
Content copied to clipboard
open
fun
spliterator
(
)
:
Spliterator
<
T
>
Content copied to clipboard
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Content copied to clipboard