maps method

bool maps(
  1. PortReference port,
  2. InterfacePortReference interfacePort
)

Whether this map has port and interfacePort as its exact endpoints.

Implementation

bool maps(PortReference port, InterfacePortReference interfacePort) =>
    this.port == port && this.interfacePort == interfacePort;