Add documentation and fix Javadoc warnings

* Describe the aim of the interfaces
* Explain what are the box inherited from Box
* Fix Javadoc warnings by specifying the parameters and returns of the
  methods in the interfaces
This commit is contained in:
regar42 committed 2017-12-10 15:27:57 +01:00
1 parent 8db8b3faad
commit 4d1d3b39a2
10 files changed
+103 -16

No files matched your search

+9 -2
View File
@@ -6,9 +6,16 @@ package dijkstra;
*/
public interface VertexInterface {
/** Compare a Vertex to another. */
/**
* Compares a <code>VertexInterface</code> to another.
* @param vertex
* The vertex to which the equality will be tested.
* @return <code>true</code> is the two <code>VertexInterface</code> are the same, <code>false</code> if not.
*/
public boolean compareTo(VertexInterface vertex) ;
/** Returns the Label of the vertex. */
/**
* @return The label of the element.
*/
public String getLabel() ;
}