![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.graph.UndirectedGraphConnections.class Maven / Gradle / Ivy
???? 4 ? &com/google/common/graph/GraphConstants
java/lang/Object ()V
$com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Map 2com/google/common/graph/UndirectedGraphConnections adjacentNodeValues Ljava/util/Map; 4com/google/common/graph/UndirectedGraphConnections$1 4$SwitchMap$com$google$common$graph$ElementOrder$Type [I
! " $com/google/common/graph/ElementOrder type -()Lcom/google/common/graph/ElementOrder$Type;
$ % & ' ( )com/google/common/graph/ElementOrder$Type ordinal ()I * java/util/HashMap
) , - (IF)V
/ 0 (Ljava/util/Map;)V 2 java/util/LinkedHashMap
1 , 5 java/lang/AssertionError
4 7 8 (Ljava/lang/Object;)V
: ; < = > &com/google/common/collect/ImmutableMap copyOf 9(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap; @ A B keySet ()Ljava/util/Set;
D E F G H java/util/Collections unmodifiableSet (Ljava/util/Set;)Ljava/util/Set;
J K B
adjacentNodes M N O P Q
java/util/Set iterator ()Ljava/util/Iterator; S T U apply 5(Ljava/lang/Object;)Lcom/google/common/base/Function;
W X Y Z [ #com/google/common/collect/Iterators transform K(Ljava/util/Iterator;Lcom/google/common/base/Function;)Ljava/util/Iterator; ] ^ get
` a removeSuccessor c d remove
f g h addSuccessor 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; j k h put
m n o p q $com/google/common/graph/EndpointPair unordered L(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair; s (com/google/common/graph/GraphConnections Signature Ljava/util/Map; Code LineNumberTable LocalVariableTable this 4Lcom/google/common/graph/UndirectedGraphConnections; LocalVariableTypeTable ; MethodParameters (Ljava/util/Map;)V of \(Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/UndirectedGraphConnections; incidentEdgeOrder &Lcom/google/common/graph/ElementOrder; +Lcom/google/common/graph/ElementOrder;
StackMapTable ?(Lcom/google/common/graph/ElementOrder;)Lcom/google/common/graph/UndirectedGraphConnections; ofImmutable E(Ljava/util/Map;)Lcom/google/common/graph/UndirectedGraphConnections; (Ljava/util/Map;)Lcom/google/common/graph/UndirectedGraphConnections; ()Ljava/util/Set; predecessors
successors incidentEdgeIterator ((Ljava/lang/Object;)Ljava/util/Iterator; thisNode Ljava/lang/Object; TN; F(TN;)Ljava/util/Iterator;>; value node (TN;)TV; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; removePredecessor unused TV; (TN;)V addPredecessor '(Ljava/lang/Object;Ljava/lang/Object;)V (TN;TV;)V (TN;TV;)TV; lambda$incidentEdgeIterator$0 incidentNode nLjava/lang/Object;Lcom/google/common/graph/GraphConnections;
SourceFile UndirectedGraphConnections.java 9Lcom/google/common/graph/ElementTypesAreNonnullByDefault; BootstrapMethods ?
? ? q ? :(Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair; ?
? ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; InnerClasses Type ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup 0 r t u
0 v h *? *+? ? ? ? w , - . x y z { y | u } t ~ ? v ? R? *? ? #.? ; *? Y? )Y? +? .?? Y? 1Y? 3? .?? 4Y*? ? 6? w 1 $ 3 5 6 F 9 x R ? ? { R ? ? ? $ } ? t ? ? ? v H ? Y*? 9? .? w > x { u } t ? K B v I
*? ? ? ? C? w C x
y z {
y | t ? ? B v A *? I? w H x y z { y | t ? ? B v A *? I? w M x y z { y | t ? ? ? v p *? ? ? ? L +? R ? V? w R S R x y z ? ? { y | ? ? } ? t ? ? v [ *? +? \ ? w Z x y z ? ? { y | ? ? } ? t ? ? ? ? 8 v o *+? _M? w
` a x y z ? ? ? ? { y | ? ? ? ? } ? t ? a v [ *? +? b ? w f x y z ? ? { y | ? ? } ? t ? ? ? ? ? v ? *+,? eN? w
l m x * y z ? ? ? ? ? ? { * y | ? ? ? ? ? ? } ? ? t ? g h v p *? +,? i ? w r x y z ? ? ? ? { y | ? ? ? ? } ? ? t ? ? ?
? q v : *+? l? w T x ? ? ? ? t ? ? ? ? ? ? ? ? ? ? ? $ ?@ ? ? ?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy