16 package org.openkilda.pce.model;
20 import java.util.HashMap;
21 import java.util.HashSet;
23 import java.util.Objects;
43 public final Map<SwitchId, Set<SimpleIsl>>
outbound;
54 this.outbound =
new HashMap<>();
58 outbound.computeIfAbsent(isl.getDstDpid(), newSet ->
new HashSet<>()).add(isl);
66 : (other.
dpid == null) ? 0 : -1;
90 String
result =
"\n\tdpid='" +
dpid +
'\'' +
", outbound=";
SimpleSwitch(SwitchId dpid)
final Map< SwitchId, Set< SimpleIsl > > outbound
int compareTo(SimpleSwitch other)
SimpleSwitch addOutbound(SimpleIsl isl)