final class com.google.common.collect.SortedLists
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.SortedLists
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/SortedLists;
public static <E extends java.lang.Comparable> int binarySearch(java.util.List<? extends E>, E, com.google.common.collect.SortedLists$KeyPresentBehavior, com.google.common.collect.SortedLists$KeyAbsentBehavior);
descriptor: (Ljava/util/List;Ljava/lang/Comparable;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokestatic com.google.common.collect.Ordering.natural:()Lcom/google/common/collect/Ordering;
aload 2
aload 3
invokestatic com.google.common.collect.SortedLists.binarySearch:(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 list Ljava/util/List<+TE;>;
0 2 1 e TE;
0 2 2 presentBehavior Lcom/google/common/collect/SortedLists$KeyPresentBehavior;
0 2 3 absentBehavior Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;
Signature: <E::Ljava/lang/Comparable;>(Ljava/util/List<+TE;>;TE;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
MethodParameters:
Name Flags
list
e
presentBehavior
absentBehavior
public static <E, K extends java.lang.Comparable> int binarySearch(java.util.List<E>, com.google.common.base.Function<? super E, K>, K, com.google.common.collect.SortedLists$KeyPresentBehavior, com.google.common.collect.SortedLists$KeyAbsentBehavior);
descriptor: (Ljava/util/List;Lcom/google/common/base/Function;Ljava/lang/Comparable;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokestatic com.google.common.collect.Ordering.natural:()Lcom/google/common/collect/Ordering;
aload 3
aload 4
1: invokestatic com.google.common.collect.SortedLists.binarySearch:(Ljava/util/List;Lcom/google/common/base/Function;Ljava/lang/Object;Ljava/util/Comparator;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 list Ljava/util/List<TE;>;
0 2 1 keyFunction Lcom/google/common/base/Function<-TE;TK;>;
0 2 2 key TK;
0 2 3 presentBehavior Lcom/google/common/collect/SortedLists$KeyPresentBehavior;
0 2 4 absentBehavior Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;
Signature: <E:Ljava/lang/Object;K::Ljava/lang/Comparable;>(Ljava/util/List<TE;>;Lcom/google/common/base/Function<-TE;TK;>;TK;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
list
keyFunction
key
presentBehavior
absentBehavior
public static <E, K> int binarySearch(java.util.List<E>, com.google.common.base.Function<? super E, K>, K, java.util.Comparator<? super K>, com.google.common.collect.SortedLists$KeyPresentBehavior, com.google.common.collect.SortedLists$KeyAbsentBehavior);
descriptor: (Ljava/util/List;Lcom/google/common/base/Function;Ljava/lang/Object;Ljava/util/Comparator;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokestatic com.google.common.collect.Lists.transform:(Ljava/util/List;Lcom/google/common/base/Function;)Ljava/util/List;
aload 2
aload 3
aload 4
aload 5
1: invokestatic com.google.common.collect.SortedLists.binarySearch:(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 list Ljava/util/List<TE;>;
0 2 1 keyFunction Lcom/google/common/base/Function<-TE;TK;>;
0 2 2 key TK;
0 2 3 keyComparator Ljava/util/Comparator<-TK;>;
0 2 4 presentBehavior Lcom/google/common/collect/SortedLists$KeyPresentBehavior;
0 2 5 absentBehavior Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;
Signature: <E:Ljava/lang/Object;K:Ljava/lang/Object;>(Ljava/util/List<TE;>;Lcom/google/common/base/Function<-TE;TK;>;TK;Ljava/util/Comparator<-TK;>;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
list
keyFunction
key
keyComparator
presentBehavior
absentBehavior
public static <E> int binarySearch(java.util.List<? extends E>, E, java.util.Comparator<? super E>, com.google.common.collect.SortedLists$KeyPresentBehavior, com.google.common.collect.SortedLists$KeyAbsentBehavior);
descriptor: (Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 4
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
instanceof java.util.RandomAccess
ifne 6
5: aload 0
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/lang/Iterable;)Ljava/util/ArrayList;
astore 0
6: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 7: aload 0
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 6
start local 6 8: goto 22
9: StackMap locals: int int
StackMap stack:
iload 5
iload 6
iadd
iconst_1
iushr
istore 7
start local 7 10: aload 2
aload 1
aload 0
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 8
start local 8 11: iload 8
ifge 14
12: iload 7
iconst_1
isub
istore 6
13: goto 22
StackMap locals: int int
StackMap stack:
14: iload 8
ifle 17
15: iload 7
iconst_1
iadd
istore 5
16: goto 22
17: StackMap locals:
StackMap stack:
iload 5
18: aload 3
19: aload 2
aload 1
aload 0
iload 5
iload 6
iconst_1
iadd
invokeinterface java.util.List.subList:(II)Ljava/util/List;
iload 7
iload 5
isub
20: invokevirtual com.google.common.collect.SortedLists$KeyPresentBehavior.resultIndex:(Ljava/util/Comparator;Ljava/lang/Object;Ljava/util/List;I)I
21: iadd
ireturn
end local 8 end local 7 22: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmple 9
23: aload 4
iload 5
invokevirtual com.google.common.collect.SortedLists$KeyAbsentBehavior.resultIndex:(I)I
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 list Ljava/util/List<+TE;>;
0 24 1 key TE;
0 24 2 comparator Ljava/util/Comparator<-TE;>;
0 24 3 presentBehavior Lcom/google/common/collect/SortedLists$KeyPresentBehavior;
0 24 4 absentBehavior Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;
7 24 5 lower I
8 24 6 upper I
10 22 7 middle I
11 22 8 c I
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<+TE;>;TE;Ljava/util/Comparator<-TE;>;Lcom/google/common/collect/SortedLists$KeyPresentBehavior;Lcom/google/common/collect/SortedLists$KeyAbsentBehavior;)I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
list
key
comparator
presentBehavior
absentBehavior
}
SourceFile: "SortedLists.java"
NestMembers:
com.google.common.collect.SortedLists$KeyAbsentBehavior com.google.common.collect.SortedLists$KeyAbsentBehavior$1 com.google.common.collect.SortedLists$KeyAbsentBehavior$2 com.google.common.collect.SortedLists$KeyAbsentBehavior$3 com.google.common.collect.SortedLists$KeyPresentBehavior com.google.common.collect.SortedLists$KeyPresentBehavior$1 com.google.common.collect.SortedLists$KeyPresentBehavior$2 com.google.common.collect.SortedLists$KeyPresentBehavior$3 com.google.common.collect.SortedLists$KeyPresentBehavior$4 com.google.common.collect.SortedLists$KeyPresentBehavior$5
InnerClasses:
abstract KeyAbsentBehavior = com.google.common.collect.SortedLists$KeyAbsentBehavior of com.google.common.collect.SortedLists
abstract KeyPresentBehavior = com.google.common.collect.SortedLists$KeyPresentBehavior of com.google.common.collect.SortedLists
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()
com.google.common.annotations.Beta()