1 package prefuse.data; 2 3 import java.util.Iterator ; 4 5 6 14 public interface Node extends Tuple { 15 16 20 public Graph getGraph(); 21 22 25 30 public int getInDegree(); 31 32 37 public int getOutDegree(); 38 39 44 public int getDegree(); 45 46 51 public Iterator inEdges(); 52 53 58 public Iterator outEdges(); 59 60 65 public Iterator edges(); 66 67 72 public Iterator inNeighbors(); 73 74 79 public Iterator outNeighbors(); 80 81 85 public Iterator neighbors(); 86 87 90 94 public Node getParent(); 95 96 101 public Edge getParentEdge(); 102 103 108 public int getDepth(); 109 110 114 public int getChildCount(); 115 116 123 public int getChildIndex(Node child); 124 125 130 public Node getChild(int idx); 131 132 137 public Node getFirstChild(); 138 139 145 public Node getLastChild(); 146 147 151 public Node getPreviousSibling(); 152 153 157 public Node getNextSibling(); 158 159 163 public Iterator children(); 164 165 169 public Iterator childEdges(); 170 171 } | Popular Tags |