Minor, fix KotlinSignature of DFS methods

This commit is contained in:
Alexander Udalov
2014-04-14 15:59:36 +04:00
parent 79e7ee91e4
commit 4a60c59f39
3 changed files with 9 additions and 8 deletions
@@ -79,16 +79,17 @@ public class DFS {
}
public interface NodeHandler<N, R> {
@KotlinSignature("fun beforeChildren(current: N): Unit")
void beforeChildren(N current);
@KotlinSignature("fun afterChildren(current: N): Unit")
void afterChildren(N current);
R result();
}
public interface Neighbors<N> {
@KotlinSignature("fun getNeighbors(current: N?): Iterable<N>")
@KotlinSignature("fun getNeighbors(current: N): Iterable<N>")
@NotNull
Iterable<N> getNeighbors(N current);
}