![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.graph.EndpointPair.class Maven / Gradle / Ivy
???? 4 ?
$com/google/common/graph/EndpointPair '(Ljava/lang/Object;Ljava/lang/Object;)V
java/lang/Object ()V
$com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; nodeU Ljava/lang/Object; nodeV ,com/google/common/graph/EndpointPair$Ordered
O(Ljava/lang/Object;Ljava/lang/Object;Lcom/google/common/graph/EndpointPair$1;)V .com/google/common/graph/EndpointPair$Unordered
" # $ % & com/google/common/graph/Graph
isDirected ()Z
( ) * ordered L(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
, - * unordered / # 0 com/google/common/graph/Network
2 3 4 equals (Ljava/lang/Object;)Z 6 "java/lang/IllegalArgumentException 8 java/lang/StringBuilder
7 ;
EndpointPair
7 = > ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
7 A > B -(Ljava/lang/Object;)Ljava/lang/StringBuilder; D does not contain node
7 F G H toString ()Ljava/lang/String;
5 J K (Ljava/lang/String;)V
M N O P Q #com/google/common/collect/Iterators forArray E([Ljava/lang/Object;)Lcom/google/common/collect/UnmodifiableIterator;
S T U iterator 2()Lcom/google/common/collect/UnmodifiableIterator; W java/lang/Iterable Signature TN; Code LineNumberTable LocalVariableTable this &Lcom/google/common/graph/EndpointPair; LocalVariableTypeTable +Lcom/google/common/graph/EndpointPair; MethodParameters (TN;TN;)V source target I(TN;TN;)Lcom/google/common/graph/EndpointPair; of k(Lcom/google/common/graph/Graph;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair; graph Lcom/google/common/graph/Graph; "Lcom/google/common/graph/Graph<*>;
StackMapTable k(Lcom/google/common/graph/Graph<*>;TN;TN;)Lcom/google/common/graph/EndpointPair; m(Lcom/google/common/graph/Network;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair; network !Lcom/google/common/graph/Network; %Lcom/google/common/graph/Network<**>; n(Lcom/google/common/graph/Network<**>;TN;TN;)Lcom/google/common/graph/EndpointPair; ()Ljava/lang/Object; ()TN; adjacentNode node (TN;)TN; isOrdered 7()Lcom/google/common/collect/UnmodifiableIterator; obj "RuntimeVisibleParameterAnnotations Ljavax/annotation/CheckForNull; hashCode ()I ()Ljava/util/Iterator; x0 x1 x2 (Lcom/google/common/graph/EndpointPair$1; ALjava/lang/Object;Ljava/lang/Iterable;
SourceFile EndpointPair.java RuntimeVisibleAnnotations -Lcom/google/errorprone/annotations/Immutable; containerOf N 9Lcom/google/common/graph/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta; InnerClasses Ordered ? &com/google/common/graph/EndpointPair$1 Unordered! V X Y X Y Z ? *? *+? ? *,? ? ? [ / 0 1 2 \ ] ^ _ ] ` Y Y a X b ) * Z [ ? Y*+? ? [ 6 \ c d _ c Y d Y a c d X e - * Z [ ? Y+*? ? [ <