16 package org.openkilda.topo;
23 private final Port parent;
24 private final String id;
25 private int priority = -1;
36 this.priority = priority;
52 this.priority = priority;
64 if (
this == o)
return true;
65 if (o == null || getClass() != o.getClass())
return false;
69 if (priority != portQueue.priority)
return false;
70 if (!parent.
equals(portQueue.parent))
return false;
71 return id.
equals(portQueue.id);
86 ", id='" +
id +
'\'' +
87 ", priority=" + priority +
void setPriority(int priority)
PortQueue(Port parent, String id, int priority)
static final String toString(Switch aSwitch)
PortQueue(Port parent, String id)