@Test public void testEdge() { assertTrue(tester.getPointA() == a); assertTrue(tester.getPointB() == b); assertTrue(tester.getData().equals("edgy")); }
public Edge(final Vertex<E> pointA, final Vertex<E> pointB) { this.cost = null; this.pointA = pointA; this.pointB = pointB; this.data = null; }
Edge { public Edge(final Vertex<E> pointA, final Vertex<E> pointB) { this.cost = null; this.pointA = pointA; this.pointB = pointB; this.data = null; } }
Edge { public Edge(final Vertex<E> pointA, final Vertex<E> pointB) { this.cost = null; this.pointA = pointA; this.pointB = pointB; this.data = null; } Edge(final Vertex<E> pointA, final Vertex<E> pointB);  Edge(final Vertex<E> pointA, final Vertex<E> pointB, final F data); }
Edge { public Edge(final Vertex<E> pointA, final Vertex<E> pointB) { this.cost = null; this.pointA = pointA; this.pointB = pointB; this.data = null; } Edge(final Vertex<E> pointA, final Vertex<E> pointB);  Edge(final Vertex<E> pointA, final Vertex<E> pointB, final F data); Integer getCost(); void setCost(final Integer cost); Vertex<E> getPointA(); Vertex<E> getPointB(); F getData(); @Override @SuppressWarnings("unchecked") boolean equals(Object edgeObj); }
Edge { public Edge(final Vertex<E> pointA, final Vertex<E> pointB) { this.cost = null; this.pointA = pointA; this.pointB = pointB; this.data = null; } Edge(final Vertex<E> pointA, final Vertex<E> pointB);  Edge(final Vertex<E> pointA, final Vertex<E> pointB, final F data); Integer getCost(); void setCost(final Integer cost); Vertex<E> getPointA(); Vertex<E> getPointB(); F getData(); @Override @SuppressWarnings("unchecked") boolean equals(Object edgeObj);  }