// This code is from "Algorithms in Java, Third Edition," // by Robert Sedgewick, Addison-Wesley, 2003. // p. 18 public interface AdjList { public Edge beg(); public Edge nxt(); public boolean end(); }