Class AbstractNodesCommand<C extends Collection<Node>>

java.lang.Object
org.openstreetmap.josm.command.Command
org.openstreetmap.josm.command.AbstractNodesCommand<C>
Type Parameters:
C - type of nodes collection used for this command
All Implemented Interfaces:
PseudoCommand
Direct Known Subclasses:
ChangeNodesCommand, RemoveNodesCommand

public abstract class AbstractNodesCommand<C extends Collection<Node>> extends Command
Abstracts superclass of ChangeNodesCommand / RemoveNodesCommand.
Since:
15013
  • Field Details

  • Constructor Details

    • AbstractNodesCommand

      protected AbstractNodesCommand(Way way, C cmdNodes)
      Constructs a new AbstractNodesCommand.
      Parameters:
      way - The way to modify
      cmdNodes - The collection of nodes for this command
    • AbstractNodesCommand

      protected AbstractNodesCommand(DataSet ds, Way way, C cmdNodes)
      Constructs a new AbstractNodesCommand.
      Parameters:
      ds - The target data set. Must not be null
      way - The way to modify
      cmdNodes - The collection of nodes for this command
  • Method Details