+ if (this == obj) {
+ return true;
+ }
+ if (obj == null) {
+ return false;
+ }
+ if (getClass() != obj.getClass()) {
+ return false;
+ }
+ FlowEntry other = (FlowEntry) obj;
+
+ if (node == null) {
+ if (other.node != null) {
+ return false;
+ }
+ } else if (!node.equals(other.node)) {
+ return false;
+ }
+
+ if (flow == null) {
+ return (other.flow == null) ? true : false;
+ } else if (other.flow == null) {
+ return false;
+ }
+ if (flow.getPriority() != other.flow.getPriority()) {
+ return false;
+ }
+ if (flow.getMatch() == null) {
+ if (other.flow.getMatch() != null) {
+ return false;
+ }
+ } else if (!flow.getMatch().equals(other.flow.getMatch())) {
+ return false;
+ }
+
+ return true;