Example #1
0
 /** @see Graph#edgesOf(Object) */
 public Set<DefaultWeightedEdge> edgesOf(final Spot spot) {
   if (graph.containsVertex(spot)) {
     return graph.edgesOf(spot);
   } else {
     return Collections.emptySet();
   }
 }