Clean code.
This commit is contained in:
parent
ddcc6dc06f
commit
4b36838b26
@ -59,6 +59,7 @@ public class Node implements Comparable<Node> {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* (non-Javadoc)
|
* (non-Javadoc)
|
||||||
|
*
|
||||||
* @see java.lang.Object#equals(java.lang.Object)
|
* @see java.lang.Object#equals(java.lang.Object)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
@ -71,6 +72,7 @@ public class Node implements Comparable<Node> {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* (non-Javadoc)
|
* (non-Javadoc)
|
||||||
|
*
|
||||||
* @see java.lang.Comparable#compareTo(java.lang.Object)
|
* @see java.lang.Comparable#compareTo(java.lang.Object)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@ -4,7 +4,7 @@ package org.insa.graph;
|
|||||||
* Class representing a point on Earth.
|
* Class representing a point on Earth.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Point {
|
public final class Point {
|
||||||
|
|
||||||
// Earth radius, in meters;
|
// Earth radius, in meters;
|
||||||
private static final double EARTH_RADIUS = 6378137.0;
|
private static final double EARTH_RADIUS = 6378137.0;
|
||||||
@ -65,6 +65,7 @@ public class Point {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* (non-Javadoc)
|
* (non-Javadoc)
|
||||||
|
*
|
||||||
* @see java.lang.Object#toString()
|
* @see java.lang.Object#toString()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@ -8,8 +8,8 @@ import java.util.EnumMap;
|
|||||||
import org.insa.graph.AccessRestrictions;
|
import org.insa.graph.AccessRestrictions;
|
||||||
import org.insa.graph.AccessRestrictions.AccessMode;
|
import org.insa.graph.AccessRestrictions.AccessMode;
|
||||||
import org.insa.graph.AccessRestrictions.AccessRestriction;
|
import org.insa.graph.AccessRestrictions.AccessRestriction;
|
||||||
import org.insa.graph.ArcForward;
|
|
||||||
import org.insa.graph.ArcBackward;
|
import org.insa.graph.ArcBackward;
|
||||||
|
import org.insa.graph.ArcForward;
|
||||||
import org.insa.graph.Graph;
|
import org.insa.graph.Graph;
|
||||||
import org.insa.graph.GraphInformation;
|
import org.insa.graph.GraphInformation;
|
||||||
import org.insa.graph.Node;
|
import org.insa.graph.Node;
|
||||||
|
Loading…
Reference in New Issue
Block a user