![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.graph.StandardValueGraph.class Maven / Gradle / Ivy
???? 4 ? ? Y ? Y ?
?
? ? ?
?
? ?
8 ?
9 ? Y ? 8 ? Y ? 8 ?
? ? 8 ? ? ?
? ?
? 8 ?
? ? 8 ?
?
8 ? ) ?
8 ? ) ? ) ? ?
?
? ?
8 ?
8 ?
? ?
? ?
8 ?
8 ?
? ? ? ?
+ ? ?
+ ?
+ ? ?
+ ?
* ?
? ? ? ) ?
8 ?
8 ? ? ? InnerClasses
isDirected Z allowsSelfLoops nodeOrder &Lcom/google/common/graph/ElementOrder; Signature +Lcom/google/common/graph/ElementOrder; nodeConnections *Lcom/google/common/graph/MapIteratorCache; aLcom/google/common/graph/MapIteratorCache;>; edgeCount J 1(Lcom/google/common/graph/AbstractGraphBuilder;)V Code LineNumberTable LocalVariableTable this ,Lcom/google/common/graph/StandardValueGraph; builder .Lcom/google/common/graph/AbstractGraphBuilder; LocalVariableTypeTable 4Lcom/google/common/graph/StandardValueGraph; 4Lcom/google/common/graph/AbstractGraphBuilder<-TN;>; MethodParameters 7(Lcom/google/common/graph/AbstractGraphBuilder<-TN;>;)V A(Lcom/google/common/graph/AbstractGraphBuilder;Ljava/util/Map;J)V Ljava/util/Map; FLjava/util/Map;>;
StackMapTable ? ? ~(Lcom/google/common/graph/AbstractGraphBuilder<-TN;>;Ljava/util/Map;>;J)V nodes ()Ljava/util/Set; ()Ljava/util/Set; ()Z (()Lcom/google/common/graph/ElementOrder; -()Lcom/google/common/graph/ElementOrder;
adjacentNodes #(Ljava/lang/Object;)Ljava/util/Set; node Ljava/lang/Object; TN; (TN;)Ljava/util/Set; predecessors
successors
incidentEdges connections *Lcom/google/common/graph/GraphConnections; incident )Lcom/google/common/graph/IncidentEdgeSet; 2Lcom/google/common/graph/GraphConnections; .Lcom/google/common/graph/IncidentEdgeSet; A(TN;)Ljava/util/Set;>; hasEdgeConnecting '(Ljava/lang/Object;Ljava/lang/Object;)Z nodeU nodeV (TN;TN;)Z )(Lcom/google/common/graph/EndpointPair;)Z endpoints &Lcom/google/common/graph/EndpointPair; +Lcom/google/common/graph/EndpointPair; .(Lcom/google/common/graph/EndpointPair;)Z edgeValueOrDefault J(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; defaultValue TV; (TN;TN;TV;)TV; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; "RuntimeVisibleParameterAnnotations L(Lcom/google/common/graph/EndpointPair;Ljava/lang/Object;)Ljava/lang/Object; 3(Lcom/google/common/graph/EndpointPair;TV;)TV; ()J checkedConnections >(Ljava/lang/Object;)Lcom/google/common/graph/GraphConnections; 7(TN;)Lcom/google/common/graph/GraphConnections; containsNode (Ljava/lang/Object;)Z (TN;)Z hasEdgeConnectingInternal connectionsU edgeValueOrDefaultInternal value ? ((Ljava/lang/Object;)Ljava/lang/Iterable; ^Lcom/google/common/graph/AbstractValueGraph;
SourceFile StandardValueGraph.java 9Lcom/google/common/graph/ElementTypesAreNonnullByDefault; &com/google/common/graph/GraphConstants > ? ? ? ? ? ? ? ? java/lang/Integer ? ? ? ? ? G U G ? ? < ; < = < ? ` java/util/TreeMap )com/google/common/graph/MapRetrievalCache G ? (com/google/common/graph/MapIteratorCache B C ? ? ? E F ? ] ? ? b ] ? ? h ] i ] ,com/google/common/graph/StandardValueGraph$1 G ? ? ? ? ? s ? w ? t ? u ? ? } ? ? ? ? (com/google/common/graph/GraphConnections "java/lang/IllegalArgumentException java/lang/StringBuilder Node ? ? ? ? ! is not an element of this graph. ? ? G ? ? ? ? ? ? ? ? i c h c *com/google/common/graph/StandardValueGraph *com/google/common/graph/AbstractValueGraph ,com/google/common/graph/AbstractGraphBuilder
java/util/Map java/lang/Object expectedNodeCount !Lcom/google/common/base/Optional; 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; ()V directed cast (Ljava/util/Map;)V com/google/common/graph/Graphs checkNonNegative (J)J unmodifiableKeySet nodeInvalidatableSet 2(Ljava/util/Set;Ljava/lang/Object;)Ljava/util/Set; ?(Lcom/google/common/graph/StandardValueGraph;Lcom/google/common/graph/BaseGraph;Ljava/lang/Object;Lcom/google/common/graph/GraphConnections;)V $com/google/common/base/Preconditions checkNotNull isOrderingCompatible $com/google/common/graph/EndpointPair ()Ljava/lang/Object; validateEndpoints )(Lcom/google/common/graph/EndpointPair;)V get append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V containsKey
java/util/Set contains 8 9 ; <