Class EnvironmentNodeImpl

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Node , it.unibo.alchemist.model.biochemistry.EnvironmentNode , java.io.Serializable , java.lang.Comparable , java.lang.Iterable , kotlin.jvm.internal.markers.KMappedMarker

    
    public final class EnvironmentNodeImpl
    extends GenericNode<T> implements EnvironmentNode
                        

    A node with non-negative concentration.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void setConcentration(@Nonnull() Molecule molecule, @Nonnull() Double concentration)
      • Methods inherited from class it.unibo.alchemist.model.nodes.GenericNode

        addProperty, addReaction, cloneNode, compareTo, contains, equals, forEach, getConcentration, getContents, getEnvironment, getId, getIncarnation, getMoleculeCount, getMolecules, getProperties, getReactions, hashCode, iterator, removeConcentration, removeReaction, spliterator, toString
      • Methods inherited from class it.unibo.alchemist.model.Node

        asProperty, asPropertyOrNull
      • Methods inherited from class java.lang.Iterable

        iterator, spliterator
      • Methods inherited from class java.lang.Object

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

      • EnvironmentNodeImpl

        EnvironmentNodeImpl(Incarnation<Double, out Object> incarnation, Environment<Double, out Object> environment)
        Create a new environment node.
        Parameters:
        incarnation - the simulation incarnation
        environment - the environment
      • EnvironmentNodeImpl

        EnvironmentNodeImpl(Environment<Double, out Object> environment)
        Create a new environment node.
        Parameters:
        environment - the environment