EnvironmentNodeImpl

class EnvironmentNodeImpl : GenericNode<T> , EnvironmentNode

A node with non-negative concentration.

Constructors

Link copied to clipboard
open fun EnvironmentNodeImpl(incarnation: Incarnation<Double, out Any>, environment: Environment<Double, out Any>)
Create a new environment node.
Link copied to clipboard
open fun EnvironmentNodeImpl(environment: Environment<Double, out Any>)
Create a new environment node.

Functions

Link copied to clipboard
fun addProperty(nodeProperty: NodeProperty<T>)
Link copied to clipboard
fun addReaction(reactionToAdd: Reaction<T>)
Link copied to clipboard
open fun <C : NodeProperty<T>?> asProperty(superType: KClass<C>): C
Link copied to clipboard
open fun <C : NodeProperty<T>?> asPropertyOrNull(superType: Class<out Any>): C
Link copied to clipboard
open fun cloneNode(currentTime: Time): Node<T>
Link copied to clipboard
fun compareTo(other: Node<T>): Int
Link copied to clipboard
open fun contains(molecule: Molecule): Boolean
Link copied to clipboard
fun equals(other: Any): Boolean
Link copied to clipboard
fun forEach(action: Consumer<out Any>)
Link copied to clipboard
open fun getConcentration(molecule: Molecule): T
Link copied to clipboard
open fun getMoleculeCount(): Int
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
fun iterator(): Iterator<Reaction<T>>
abstract fun iterator(): Iterator<T>
Link copied to clipboard
fun removeConcentration(moleculeToRemove: Molecule)
Link copied to clipboard
fun removeReaction(reactionToRemove: Reaction<T>)
Link copied to clipboard
open fun setConcentration(@Nonnull molecule: Molecule, @Nonnull concentration: Double)
Link copied to clipboard
fun spliterator(): Spliterator<Reaction<T>>
open fun spliterator(): Spliterator<T>
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
val Companion: GenericNode.Companion
Link copied to clipboard
val contents: Map<Molecule, T>
Link copied to clipboard
val environment: Environment<T, out Any>
Link copied to clipboard
val id: Int
Link copied to clipboard
val incarnation: Incarnation<T, out Any>
Link copied to clipboard
val molecules: Map<Molecule, T>
Link copied to clipboard
val properties: List<NodeProperty<T>>
Link copied to clipboard
val reactions: List<Reaction<T>>