@Test public void testEquals() { Vertex vertex2 = new Vertex.Builder("com.actor", "action").markSpecial().build(); assertEquals(vertex2, vertex); }
@Override public boolean equals(Object o) { if (super.equals(o)) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Vertex vertex = (Vertex) o; return isSpecial() == vertex.isSpecial() && Objects.equals(actor, vertex.actor) && Objects.equals(action, vertex.action); }
Vertex implements Serializable { @Override public boolean equals(Object o) { if (super.equals(o)) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Vertex vertex = (Vertex) o; return isSpecial() == vertex.isSpecial() && Objects.equals(actor, vertex.actor) && Objects.equals(action, vertex.action); } }
Vertex implements Serializable { @Override public boolean equals(Object o) { if (super.equals(o)) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Vertex vertex = (Vertex) o; return isSpecial() == vertex.isSpecial() && Objects.equals(actor, vertex.actor) && Objects.equals(action, vertex.action); } protected  Vertex(String actor, String action, boolean isSpecial, String filePath,
                     List<Integer> lineNumbers, String location); }
Vertex implements Serializable { @Override public boolean equals(Object o) { if (super.equals(o)) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Vertex vertex = (Vertex) o; return isSpecial() == vertex.isSpecial() && Objects.equals(actor, vertex.actor) && Objects.equals(action, vertex.action); } protected  Vertex(String actor, String action, boolean isSpecial, String filePath,
                     List<Integer> lineNumbers, String location); boolean isLineNumbersEmpty(); String getActor(); String getAction(); boolean isSpecial(); String getFilePath(); List<Integer> getLineNumbers(); String getLocation(); void setLocation(String location); String shortenName(String name); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o); }
Vertex implements Serializable { @Override public boolean equals(Object o) { if (super.equals(o)) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Vertex vertex = (Vertex) o; return isSpecial() == vertex.isSpecial() && Objects.equals(actor, vertex.actor) && Objects.equals(action, vertex.action); } protected  Vertex(String actor, String action, boolean isSpecial, String filePath,
                     List<Integer> lineNumbers, String location); boolean isLineNumbersEmpty(); String getActor(); String getAction(); boolean isSpecial(); String getFilePath(); List<Integer> getLineNumbers(); String getLocation(); void setLocation(String location); String shortenName(String name); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o);  }