![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.graph.DirectedGraphConnections.class Maven / Gradle / Ivy
???? 4q &com/google/common/graph/GraphConstants 0com/google/common/graph/DirectedGraphConnections successorCount I
isSuccessor (Ljava/lang/Object;)Z predecessorCount
isPredecessor adjacentNodeValues Ljava/util/Map; orderedNodeConnections Ljava/util/List;
java/lang/Object ()V
" # $ % & $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; (
java/util/Map
* + , - . com/google/common/graph/Graphs checkNonNegative (I)I ' 0 1 2 size ()I
" 4 5 6
checkState (Z)V 8 9 : ; < 2com/google/common/graph/DirectedGraphConnections$5 4$SwitchMap$com$google$common$graph$ElementOrder$Type [I
> ? @ A B $com/google/common/graph/ElementOrder type -()Lcom/google/common/graph/ElementOrder$Type;
D E F G 2 )com/google/common/graph/ElementOrder$Type ordinal I java/util/ArrayList
H L java/lang/AssertionError
K N O (Ljava/lang/Object;)V Q java/util/HashMap
P S T (IF)V
V W $(Ljava/util/Map;Ljava/util/List;II)V
P
Z [ \ ] ^ 'com/google/common/collect/ImmutableList builder 3()Lcom/google/common/collect/ImmutableList$Builder; ` a b c d java/lang/Iterable iterator ()Ljava/util/Iterator; f g h i j java/util/Iterator hasNext ()Z f l m n next ()Ljava/lang/Object; p $com/google/common/graph/EndpointPair
o r s n nodeU
u v equals
o x y n nodeV {