![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.graph.StandardNetwork.class Maven / Gradle / Ivy
???? 4 ? &com/google/common/graph/GraphConstants &com/google/common/graph/NetworkBuilder nodeOrder &Lcom/google/common/graph/ElementOrder;
expectedNodeCount !Lcom/google/common/base/Optional;
java/lang/Integer valueOf (I)Ljava/lang/Integer;
com/google/common/base/Optional or &(Ljava/lang/Object;)Ljava/lang/Object;
intValue ()I
! " $com/google/common/graph/ElementOrder createMap (I)Ljava/util/Map; $ % edgeOrder ' ( expectedEdgeCount
* + , - . 'com/google/common/graph/StandardNetwork I(Lcom/google/common/graph/NetworkBuilder;Ljava/util/Map;Ljava/util/Map;)V
0 1 2 - 3 'com/google/common/graph/AbstractNetwork ()V 5 6 7 directed Z * 9 : 7
isDirected < = 7 allowsParallelEdges * < @ A 7 allowsSelfLoops * @
D E F cast (()Lcom/google/common/graph/ElementOrder; * * $ J java/util/TreeMap L )com/google/common/graph/MapRetrievalCache
K N - O (Ljava/util/Map;)V Q (com/google/common/graph/MapIteratorCache
P N * T U V nodeConnections *Lcom/google/common/graph/MapIteratorCache; * X Y V edgeToReferenceNode
P [ \ ] unmodifiableKeySet ()Ljava/util/Set;
* _ ` a checkedConnections @(Ljava/lang/Object;)Lcom/google/common/graph/NetworkConnections; c d e f ] *com/google/common/graph/NetworkConnections
incidentEdges
* h i j nodeInvalidatableSet 2(Ljava/util/Set;Ljava/lang/Object;)Ljava/util/Set;
* l m checkedReferenceNode
P o p get
r s t u java/util/Objects requireNonNull c w x adjacentNode
z { | } ~ $com/google/common/graph/EndpointPair of m(Lcom/google/common/graph/Network;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair; c ? ? ]
adjacentNodes
? ? ? } ? &com/google/common/collect/ImmutableSet *()Lcom/google/common/collect/ImmutableSet;
* ? ? ? containsNode (Ljava/lang/Object;)Z ? (Node %s is not an element of this graph.
? ? ? ? ? $com/google/common/base/Preconditions
checkArgument ((ZLjava/lang/String;Ljava/lang/Object;)V c ? ? ? edgesConnecting #(Ljava/lang/Object;)Ljava/util/Set;
* ? ? ? nodePairInvalidatableSet D(Ljava/util/Set;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set; c ? ? ] inEdges c ? ? ] outEdges c ? ? ] predecessors c ? ? ]
successors
? ? ? checkNotNull ? "java/lang/IllegalArgumentException ? java/lang/Object
? ? ? ? ? java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
? ? - ? (Ljava/lang/String;)V ? (Edge %s is not an element of this graph.
P ? ? ? containsKey
* ? ? ?
* ? ? ? Signature +Lcom/google/common/graph/ElementOrder; +Lcom/google/common/graph/ElementOrder; cLcom/google/common/graph/MapIteratorCache;>; 2Lcom/google/common/graph/MapIteratorCache; +(Lcom/google/common/graph/NetworkBuilder;)V Code LineNumberTable LocalVariableTable this )Lcom/google/common/graph/StandardNetwork; builder (Lcom/google/common/graph/NetworkBuilder; LocalVariableTypeTable 1Lcom/google/common/graph/StandardNetwork; 2Lcom/google/common/graph/NetworkBuilder<-TN;-TE;>; MethodParameters 5(Lcom/google/common/graph/NetworkBuilder<-TN;-TE;>;)V Ljava/util/Map; HLjava/util/Map;>; Ljava/util/Map;
StackMapTable ?
java/util/Map ?(Lcom/google/common/graph/NetworkBuilder<-TN;-TE;>;Ljava/util/Map;>;Ljava/util/Map;)V nodes ()Ljava/util/Set; edges ()Ljava/util/Set; ()Z -()Lcom/google/common/graph/ElementOrder; -()Lcom/google/common/graph/ElementOrder; node Ljava/lang/Object; TN; (TN;)Ljava/util/Set;
incidentNodes :(Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair; edge nodeU nodeV TE; 0(TE;)Lcom/google/common/graph/EndpointPair; (TN;)Ljava/util/Set; 5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set; connectionsU ,Lcom/google/common/graph/NetworkConnections; 4Lcom/google/common/graph/NetworkConnections; (TN;TN;)Ljava/util/Set; connections 9(TN;)Lcom/google/common/graph/NetworkConnections;
referenceNode (TE;)TN; (TN;)Z containsEdge (TE;)Z ((Ljava/lang/Object;)Ljava/lang/Iterable; [Lcom/google/common/graph/AbstractNetwork;
SourceFile StandardNetwork.java RuntimeVisibleAnnotations 9Lcom/google/common/graph/ElementTypesAreNonnullByDefault; * 0 : 7 = 7 A 7 ? ? % ? ? U V ? ? Y V ? ? - ? ? ? 8*++? +?
?
? ? ? ? +? #+? &?
? ? ? ? ? )? ? C F E % G 4 C 7 H ? 8 ? ? 8 ? ? ? 8 ? ? 8 ? ? ? ? ? ? - . ? 8 ]*? /*+? 4? 8*+? ;? >*+? ?? B*+? ? C? G*+? #? C? H*,? I? ? KY,? M? ? PY,? R? S*? PY-? R? W? ? 2 Q R S T U ' V 2 Y 3 Z : [ E \ P ] \ ^ ? * ] ? ? ] ? ? ] U ? ] Y ? ? * ] ? ? ] ? ? ] U ? ] Y ? ? 1 ? E * ? ? *? * ? ? * P ?
? U Y ? ? ? ] ? D *? S? Z? ? b ? ? ? ? ? ? ? ? ? ] ? D *? W? Z? ? g ? ? ? ? ? ? ? ? : ? ? A *? 8? ? l ? ? ? ? ? ? = ? ? A *? >? ? q ? ? ? ? ? ? A ? ? A *? B? ? v ? ? ? ? ? ? F ? A *? G? ? { ? ? ? ? ? ? ? ? % F ? A *? H? ? ? ? ? ? ? ? ? ? ? f ? ? ` **+? ^? b +? g? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? %*+? kM*? S,? n? c? q? c+? v N*,-? y? ? ? ? ? ? * % ? ? % ? ? ? ? ? ? ? * % ? ? % ? ? ? ? ? ? ? ? ? ? ? ? ? ` **+? ^? +? g? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /*+? ^N*? B? +,? ? ??*,? ??,? ?*-,? ? +,? ?? ? ? ? ? ? ! ? ? * / ? ? / ? ? / ? ? ) ? ? ? * / ? ? / ? ? / ? ? ) ? ? ? ? c ? ? ? ? ? ? ? ? ` **+? ^? ? +? g? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ` **+? ^? ? +? g? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ` **+? ^? ? +? g? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ` **+? ^? ? +? g? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ` a ? ? ,*? S+? n? cM,? +? ?W? ?Y?? ?Y+S? ?? ??,? ? ? ? ? ? * ? ? , ? ? , ? ? ? ? ? , ? ? , ? ? ? ? ? ? * c ? ? ? ? m ? ? )*? W+? nM,? +? ?W? ?Y?? ?Y+S? ?? ??,? ? ? ?
? ? ' ? ? ) ? ? ) ? ? ? ? ? ) ? ? ) ? ? ? ? ? ? ' ? ? ? ? ? ? ? ? Y *? S+? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Y *? W+? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?A ? ? ? B *+? ?? ? 3 ? ? ? ? ? ? ? ? A ? ? ? B *+? ?? ? 3 ? ? ? ? ? ? ? ? ? ? ? ? ? ?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy