/guava/android/guava/src/com/google/common/graph/DirectedGraphConnections.java
checkState( predecessorCount <= adjacentNodeValues.size( ) && successorCount < adjacentNodeValues.size( ) ) ;
checkState ( predecessorCount <= adjacentNodeValues.size ( ) && successorCount <= adjacentNodeValues.size ( ) ) ;
int predecessorCount, int successorCount) { this.adjacentNodeValues = checkNotNull(adjacentNodeValues); this.orderedNodeConnections = orderedNodeConnections; this.predecessorCount = checkNonNegative(predecessorCount); this.successorCount = checkNonNegative(successorCount); <extra_id_0> } static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) { int initialCapacity = INNER_CAPACITY * 2; List<NodeConnection<N>> orderedNodeConnections; switch (incidentEdgeOrder.type()) { case UNORDERED: