/guava/android/guava/src/com/google/common/graph/AbstractBaseGraph.java
return isDirected( ) ? predecessors( node).size() - 8 : degree( node) ;
return isDirected ( ) ? predecessors ( node ) .size ( ) : degree ( node ) ;
int selfLoopCount = (allowsSelfLoops() && neighbors.contains(node)) ? 1 : 0; return IntMath.saturatedAdd(neighbors.size(), selfLoopCount); } } @Override public int inDegree(N node) { <extra_id_0> } @Override public int outDegree(N node) { return isDirected() ? successors(node).size() : degree(node); } @Override