Class NodeIdTransceiver

All Implemented Interfaces:
org.djutils.base.Identifiable, TransceiverInterface

public class NodeIdTransceiver extends AbstractIdTransceiver
Transceiver for Node ids.

Copyright (c) 2020-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • NodeIdTransceiver

      public NodeIdTransceiver(org.opentrafficsim.core.network.Network network)
      Construct a new LinkIdTransceiver.
      Parameters:
      network - Network; the OTS network
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class AbstractTransceiver
    • getSet

      org.djutils.immutablecollections.ImmutableSet<org.opentrafficsim.core.network.Node> getSet()
      Retrieve the set of names of objects that can be individually subscribed to.
      Specified by:
      getSet in class AbstractIdTransceiver
      Returns:
      Set<?>; the set of names of objects whose that can be subscribed to. Each object in this set should implement Identifiable