walkable.java
来自「用Java实现的编译器。把源代码编译成SPARC汇编程序」· Java 代码 · 共 37 行
JAVA
37 行
// $Id: Walkable.java,v 1.3 1999/09/27 20:01:29 deberg Exp $package java6035.tools.IR;/** * The Walkable interface specifies a set of methods that defines a web. */public interface Walkable { /** * Returns the name of the node */ public String getNodeName(); /** * Returns the number of neighbors from this node */ public int getNeighborCount(); /** * Returns a specific neighbor */ public Object getNeighbor(int index); /** * Returns a pretty print of the representation of the node. * * @param indent number of blank spaces to skip for a new line * @param recursive if true, recursively print children */ public String PPrint(int indent, boolean recursive);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?