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:
10 files changed
+103
-16
No files matched your search
@@ -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() ;
|
||||
}
|
||||
Reference in new issue
Block a user