public abstract class com.google.common.graph.EndpointPair<N> implements java.lang.Iterable<N>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.graph.EndpointPair
super_class: java.lang.Object
{
private final N nodeU;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TN;
private final N nodeV;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TN;
private void <init>(N, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
putfield com.google.common.graph.EndpointPair.nodeU:Ljava/lang/Object;
2: aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
putfield com.google.common.graph.EndpointPair.nodeV:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/graph/EndpointPair<TN;>;
0 4 1 nodeU TN;
0 4 2 nodeV TN;
Signature: (TN;TN;)V
MethodParameters:
Name Flags
nodeU
nodeV
public static <N> com.google.common.graph.EndpointPair<N> ordered(N, N);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.graph.EndpointPair$Ordered
dup
aload 0
aload 1
invokespecial com.google.common.graph.EndpointPair$Ordered.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source TN;
0 1 1 target TN;
Signature: <N:Ljava/lang/Object;>(TN;TN;)Lcom/google/common/graph/EndpointPair<TN;>;
MethodParameters:
Name Flags
source
target
public static <N> com.google.common.graph.EndpointPair<N> unordered(N, N);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.graph.EndpointPair$Unordered
dup
aload 1
aload 0
invokespecial com.google.common.graph.EndpointPair$Unordered.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 nodeU TN;
0 1 1 nodeV TN;
Signature: <N:Ljava/lang/Object;>(TN;TN;)Lcom/google/common/graph/EndpointPair<TN;>;
MethodParameters:
Name Flags
nodeU
nodeV
static <N> com.google.common.graph.EndpointPair<N> of(com.google.common.graph.Graph<?>, N, N);
descriptor: (Lcom/google/common/graph/Graph;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface com.google.common.graph.Graph.isDirected:()Z
ifeq 1
aload 1
aload 2
invokestatic com.google.common.graph.EndpointPair.ordered:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
aload 2
invokestatic com.google.common.graph.EndpointPair.unordered:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
StackMap locals:
StackMap stack: com.google.common.graph.EndpointPair
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 graph Lcom/google/common/graph/Graph<*>;
0 3 1 nodeU TN;
0 3 2 nodeV TN;
Signature: <N:Ljava/lang/Object;>(Lcom/google/common/graph/Graph<*>;TN;TN;)Lcom/google/common/graph/EndpointPair<TN;>;
MethodParameters:
Name Flags
graph
nodeU
nodeV
static <N> com.google.common.graph.EndpointPair<N> of(com.google.common.graph.Network<?, ?>, N, N);
descriptor: (Lcom/google/common/graph/Network;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface com.google.common.graph.Network.isDirected:()Z
ifeq 1
aload 1
aload 2
invokestatic com.google.common.graph.EndpointPair.ordered:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
aload 2
invokestatic com.google.common.graph.EndpointPair.unordered:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/graph/EndpointPair;
StackMap locals:
StackMap stack: com.google.common.graph.EndpointPair
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 network Lcom/google/common/graph/Network<**>;
0 3 1 nodeU TN;
0 3 2 nodeV TN;
Signature: <N:Ljava/lang/Object;>(Lcom/google/common/graph/Network<**>;TN;TN;)Lcom/google/common/graph/EndpointPair<TN;>;
MethodParameters:
Name Flags
network
nodeU
nodeV
public abstract N source();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TN;
public abstract N target();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TN;
public final N nodeU();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.graph.EndpointPair.nodeU:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/EndpointPair<TN;>;
Signature: ()TN;
public final N nodeV();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.graph.EndpointPair.nodeV:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/EndpointPair<TN;>;
Signature: ()TN;
public final N adjacentNode();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.google.common.graph.EndpointPair.nodeU:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield com.google.common.graph.EndpointPair.nodeV:Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.google.common.graph.EndpointPair.nodeV:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
getfield com.google.common.graph.EndpointPair.nodeU:Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "EndpointPair "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " does not contain node "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/graph/EndpointPair<TN;>;
0 5 1 node Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TN;
MethodParameters:
Name Flags
node
public abstract boolean isOrdered();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public final com.google.common.collect.UnmodifiableIterator<N> iterator();
descriptor: ()Lcom/google/common/collect/UnmodifiableIterator;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.google.common.graph.EndpointPair.nodeU:Ljava/lang/Object;
aastore
dup
iconst_1
aload 0
getfield com.google.common.graph.EndpointPair.nodeV:Ljava/lang/Object;
aastore
invokestatic com.google.common.collect.Iterators.forArray:([Ljava/lang/Object;)Lcom/google/common/collect/UnmodifiableIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/graph/EndpointPair<TN;>;
Signature: ()Lcom/google/common/collect/UnmodifiableIterator<TN;>;
public abstract boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
obj
public abstract int hashCode();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.util.Iterator iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.graph.EndpointPair.iterator:()Lcom/google/common/collect/UnmodifiableIterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <N:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Iterable<TN;>;
SourceFile: "EndpointPair.java"
NestMembers:
com.google.common.graph.EndpointPair$Ordered com.google.common.graph.EndpointPair$Unordered
InnerClasses:
private final Ordered = com.google.common.graph.EndpointPair$Ordered of com.google.common.graph.EndpointPair
private final Unordered = com.google.common.graph.EndpointPair$Unordered of com.google.common.graph.EndpointPair
RuntimeVisibleAnnotations:
com.google.errorprone.annotations.Immutable(containerOf = {"N"})
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()