Commit 01a8c449 authored by Stefan Sechelmann's avatar Stefan Sechelmann

@Override added to some methods

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@1189 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 9d389f64
......@@ -485,16 +485,19 @@ public class HalfEdgeDataStructure <V extends Vertex<V, E, F>,
return null;
}
@Override
public boolean hasNext() {
return nextEdge != null;
}
@Override
public E next() {
E result = nextEdge;
nextEdge = getNextEdge();
return result;
}
@Override
public void remove() {
}
......@@ -511,6 +514,7 @@ public class HalfEdgeDataStructure <V extends Vertex<V, E, F>,
*/
public final Iterable<E> getPositiveEdges(){
return new Iterable<E>(){
@Override
public Iterator<E> iterator() {
return new SignatureEdgeIterator(true);
}
......@@ -525,6 +529,7 @@ public class HalfEdgeDataStructure <V extends Vertex<V, E, F>,
*/
public final Iterable<E> getNegativeEdges(){
return new Iterable<E>(){
@Override
public Iterator<E> iterator() {
return new SignatureEdgeIterator(false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment