EnvironmentNode

interface EnvironmentNode : Node<T>

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addProperty(p: NodeProperty<T>)
Link copied to clipboard
abstract fun addReaction(p: Reaction<T>)
Link copied to clipboard
open fun <C : NodeProperty<T>?> asProperty(superType: KClass<C>): C
Link copied to clipboard
inline fun <T, C : NodeProperty<T>> Node<T>.asProperty(): C

returns a NodeProperty of the provided type C.

Link copied to clipboard
open fun <C : NodeProperty<T>?> asPropertyOrNull(superType: Class<in C>): C
Link copied to clipboard
inline fun <T, C : NodeProperty<T>> Node<T>.asPropertyOrNull(): C?

returns a NodeProperty of the provided type C or null if the node does not have a compatible property.

Link copied to clipboard
abstract fun cloneNode(p: Time): Node<T>
Link copied to clipboard
abstract fun compareTo(p: T): Int
Link copied to clipboard
abstract fun contains(p: Molecule): Boolean
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
abstract fun getConcentration(p: Molecule): T
Link copied to clipboard
abstract fun getContents(): Map<Molecule, T>
Link copied to clipboard
abstract fun getId(): Int
Link copied to clipboard
abstract fun getMoleculeCount(): Int
Link copied to clipboard
abstract fun getProperties(): List<NodeProperty<T>>
Link copied to clipboard
abstract fun getReactions(): List<Reaction<T>>
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun removeConcentration(p: Molecule)
Link copied to clipboard
abstract fun removeReaction(p: Reaction<T>)
Link copied to clipboard
abstract fun setConcentration(p: Molecule, p1: T)
Link copied to clipboard
Link copied to clipboard