public final class com.google.common.collect.Streams
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.Streams
super_class: java.lang.Object
{
public static <T> java.util.stream.Stream<T> stream(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.util.Collection
ifeq 2
1: aload 0
checkcast java.util.Collection
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.spliterator:()Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
3: StackMap locals:
StackMap stack: java.util.stream.Stream
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 iterable Ljava/lang/Iterable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)Ljava/util/stream/Stream<TT;>;
MethodParameters:
Name Flags
iterable
public static <T> java.util.stream.Stream<T> stream(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 collection Ljava/util/Collection<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)Ljava/util/stream/Stream<TT;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
collection
public static <T> java.util.stream.Stream<T> stream(java.util.Iterator<T>);
descriptor: (Ljava/util/Iterator;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic java.util.Spliterators.spliteratorUnknownSize:(Ljava/util/Iterator;I)Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterator Ljava/util/Iterator<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Iterator<TT;>;)Ljava/util/stream/Stream<TT;>;
MethodParameters:
Name Flags
iterator
public static <T> java.util.stream.Stream<T> stream(com.google.common.base.Optional<T>);
descriptor: (Lcom/google/common/base/Optional;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.base.Optional.isPresent:()Z
ifeq 1
aload 0
invokevirtual com.google.common.base.Optional.get:()Ljava/lang/Object;
invokestatic java.util.stream.Stream.of:(Ljava/lang/Object;)Ljava/util/stream/Stream;
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
anewarray java.lang.Object
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
StackMap locals:
StackMap stack: java.util.stream.Stream
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 optional Lcom/google/common/base/Optional<TT;>;
Signature: <T:Ljava/lang/Object;>(Lcom/google/common/base/Optional<TT;>;)Ljava/util/stream/Stream<TT;>;
MethodParameters:
Name Flags
optional
public static <T> java.util.stream.Stream<T> stream(java.util.Optional<T>);
descriptor: (Ljava/util/Optional;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Optional.isPresent:()Z
ifeq 1
aload 0
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
invokestatic java.util.stream.Stream.of:(Ljava/lang/Object;)Ljava/util/stream/Stream;
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
anewarray java.lang.Object
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
StackMap locals:
StackMap stack: java.util.stream.Stream
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 optional Ljava/util/Optional<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Optional<TT;>;)Ljava/util/stream/Stream<TT;>;
MethodParameters:
Name Flags
optional
public static java.util.stream.IntStream stream(java.util.OptionalInt);
descriptor: (Ljava/util/OptionalInt;)Ljava/util/stream/IntStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.OptionalInt.isPresent:()Z
ifeq 1
aload 0
invokevirtual java.util.OptionalInt.getAsInt:()I
invokestatic java.util.stream.IntStream.of:(I)Ljava/util/stream/IntStream;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic java.util.stream.IntStream.empty:()Ljava/util/stream/IntStream;
StackMap locals:
StackMap stack: java.util.stream.IntStream
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 optional Ljava/util/OptionalInt;
MethodParameters:
Name Flags
optional
public static java.util.stream.LongStream stream(java.util.OptionalLong);
descriptor: (Ljava/util/OptionalLong;)Ljava/util/stream/LongStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.OptionalLong.isPresent:()Z
ifeq 1
aload 0
invokevirtual java.util.OptionalLong.getAsLong:()J
invokestatic java.util.stream.LongStream.of:(J)Ljava/util/stream/LongStream;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic java.util.stream.LongStream.empty:()Ljava/util/stream/LongStream;
StackMap locals:
StackMap stack: java.util.stream.LongStream
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 optional Ljava/util/OptionalLong;
MethodParameters:
Name Flags
optional
public static java.util.stream.DoubleStream stream(java.util.OptionalDouble);
descriptor: (Ljava/util/OptionalDouble;)Ljava/util/stream/DoubleStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.OptionalDouble.isPresent:()Z
ifeq 1
aload 0
invokevirtual java.util.OptionalDouble.getAsDouble:()D
invokestatic java.util.stream.DoubleStream.of:(D)Ljava/util/stream/DoubleStream;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic java.util.stream.DoubleStream.empty:()Ljava/util/stream/DoubleStream;
StackMap locals:
StackMap stack: java.util.stream.DoubleStream
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 optional Ljava/util/OptionalDouble;
MethodParameters:
Name Flags
optional
public static <T> java.util.stream.Stream<T> concat(java.util.stream.Stream<? extends T>[]);
descriptor: ([Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=11, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: sipush 336
istore 2
start local 2 2: lconst_0
lstore 3
start local 3 3: new com.google.common.collect.ImmutableList$Builder
dup
aload 0
arraylength
invokespecial com.google.common.collect.ImmutableList$Builder.<init>:(I)V
4: astore 5
start local 5 5: aload 0
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 13
StackMap locals: java.util.stream.Stream[] int int long com.google.common.collect.ImmutableList$Builder top int int java.util.stream.Stream[]
StackMap stack:
6: aload 9
iload 7
aaload
astore 6
start local 6 7: iload 1
aload 6
invokeinterface java.util.stream.Stream.isParallel:()Z
ior
istore 1
8: aload 6
invokeinterface java.util.stream.Stream.spliterator:()Ljava/util/Spliterator;
astore 10
start local 10 9: aload 5
aload 10
invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
10: iload 2
aload 10
invokeinterface java.util.Spliterator.characteristics:()I
iand
istore 2
11: lload 3
aload 10
invokeinterface java.util.Spliterator.estimateSize:()J
invokestatic com.google.common.math.LongMath.saturatedAdd:(JJ)J
lstore 3
end local 10 end local 6 12: iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 8
if_icmplt 6
14: aload 5
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
invokevirtual com.google.common.collect.ImmutableList.spliterator:()Ljava/util/Spliterator;
15: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/collect/Streams.lambda$0(Ljava/util/Spliterator;)Ljava/util/Spliterator; (6)
(Ljava/util/Spliterator;)Ljava/util/Spliterator;
16: iload 2
17: lload 3
18: invokestatic com.google.common.collect.CollectSpliterators.flatMap:(Ljava/util/Spliterator;Ljava/util/function/Function;IJ)Ljava/util/Spliterator;
19: iload 1
20: invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
21: aload 0
invokedynamic run([Ljava/util/stream/Stream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/google/common/collect/Streams.lambda$1([Ljava/util/stream/Stream;)V (6)
()V
22: invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
23: areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 streams [Ljava/util/stream/Stream;
1 24 1 isParallel Z
2 24 2 characteristics I
3 24 3 estimatedSize J
5 24 5 splitrsBuilder Lcom/google/common/collect/ImmutableList$Builder<Ljava/util/Spliterator<+TT;>;>;
7 12 6 stream Ljava/util/stream/Stream<+TT;>;
9 12 10 splitr Ljava/util/Spliterator<+TT;>;
Signature: <T:Ljava/lang/Object;>([Ljava/util/stream/Stream<+TT;>;)Ljava/util/stream/Stream<TT;>;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
streams
public static java.util.stream.IntStream concat(java.util.stream.IntStream[]);
descriptor: ([Ljava/util/stream/IntStream;)Ljava/util/stream/IntStream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/collect/Streams.lambda$2(Ljava/util/stream/IntStream;)Ljava/util/stream/IntStream; (6)
(Ljava/util/stream/IntStream;)Ljava/util/stream/IntStream;
invokeinterface java.util.stream.Stream.flatMapToInt:(Ljava/util/function/Function;)Ljava/util/stream/IntStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 streams [Ljava/util/stream/IntStream;
MethodParameters:
Name Flags
streams
public static java.util.stream.LongStream concat(java.util.stream.LongStream[]);
descriptor: ([Ljava/util/stream/LongStream;)Ljava/util/stream/LongStream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/collect/Streams.lambda$3(Ljava/util/stream/LongStream;)Ljava/util/stream/LongStream; (6)
(Ljava/util/stream/LongStream;)Ljava/util/stream/LongStream;
invokeinterface java.util.stream.Stream.flatMapToLong:(Ljava/util/function/Function;)Ljava/util/stream/LongStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 streams [Ljava/util/stream/LongStream;
MethodParameters:
Name Flags
streams
public static java.util.stream.DoubleStream concat(java.util.stream.DoubleStream[]);
descriptor: ([Ljava/util/stream/DoubleStream;)Ljava/util/stream/DoubleStream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/collect/Streams.lambda$4(Ljava/util/stream/DoubleStream;)Ljava/util/stream/DoubleStream; (6)
(Ljava/util/stream/DoubleStream;)Ljava/util/stream/DoubleStream;
invokeinterface java.util.stream.Stream.flatMapToDouble:(Ljava/util/function/Function;)Ljava/util/stream/DoubleStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 streams [Ljava/util/stream/DoubleStream;
MethodParameters:
Name Flags
streams
public static <A, B, R> java.util.stream.Stream<R> zip(java.util.stream.Stream<A>, java.util.stream.Stream<B>, java.util.function.BiFunction<? super A, ? super B, R>);
descriptor: (Ljava/util/stream/Stream;Ljava/util/stream/Stream;Ljava/util/function/BiFunction;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
invokeinterface java.util.stream.Stream.isParallel:()Z
ifne 4
aload 1
invokeinterface java.util.stream.Stream.isParallel:()Z
ifne 4
iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 0
invokeinterface java.util.stream.Stream.spliterator:()Ljava/util/Spliterator;
astore 4
start local 4 7: aload 1
invokeinterface java.util.stream.Stream.spliterator:()Ljava/util/Spliterator;
astore 5
start local 5 8: aload 4
invokeinterface java.util.Spliterator.characteristics:()I
9: aload 5
invokeinterface java.util.Spliterator.characteristics:()I
10: iand
11: bipush 80
12: iand
13: istore 6
start local 6 14: aload 4
invokestatic java.util.Spliterators.iterator:(Ljava/util/Spliterator;)Ljava/util/Iterator;
astore 7
start local 7 15: aload 5
invokestatic java.util.Spliterators.iterator:(Ljava/util/Spliterator;)Ljava/util/Iterator;
astore 8
start local 8 16: new com.google.common.collect.Streams$1
dup
17: aload 4
invokeinterface java.util.Spliterator.estimateSize:()J
aload 5
invokeinterface java.util.Spliterator.estimateSize:()J
invokestatic java.lang.Math.min:(JJ)J
iload 6
18: aload 7
aload 8
aload 2
invokespecial com.google.common.collect.Streams$1.<init>:(JILjava/util/Iterator;Ljava/util/Iterator;Ljava/util/function/BiFunction;)V
19: iload 3
20: invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
21: aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/Stream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
22: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/Stream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
23: areturn
end local 8 end local 7 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 streamA Ljava/util/stream/Stream<TA;>;
0 24 1 streamB Ljava/util/stream/Stream<TB;>;
0 24 2 function Ljava/util/function/BiFunction<-TA;-TB;TR;>;
6 24 3 isParallel Z
7 24 4 splitrA Ljava/util/Spliterator<TA;>;
8 24 5 splitrB Ljava/util/Spliterator<TB;>;
14 24 6 characteristics I
15 24 7 itrA Ljava/util/Iterator<TA;>;
16 24 8 itrB Ljava/util/Iterator<TB;>;
Signature: <A:Ljava/lang/Object;B:Ljava/lang/Object;R:Ljava/lang/Object;>(Ljava/util/stream/Stream<TA;>;Ljava/util/stream/Stream<TB;>;Ljava/util/function/BiFunction<-TA;-TB;TR;>;)Ljava/util/stream/Stream<TR;>;
MethodParameters:
Name Flags
streamA
streamB
function
public static <A, B> void forEachPair(java.util.stream.Stream<A>, java.util.stream.Stream<B>, java.util.function.BiConsumer<? super A, ? super B>);
descriptor: (Ljava/util/stream/Stream;Ljava/util/stream/Stream;Ljava/util/function/BiConsumer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokeinterface java.util.stream.Stream.isParallel:()Z
ifne 2
aload 1
invokeinterface java.util.stream.Stream.isParallel:()Z
ifeq 4
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokedynamic apply()Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/collect/Streams$TemporaryPair.<init>(Ljava/lang/Object;Ljava/lang/Object;)V (8)
(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/Streams$TemporaryPair;
invokestatic com.google.common.collect.Streams.zip:(Ljava/util/stream/Stream;Ljava/util/stream/Stream;Ljava/util/function/BiFunction;)Ljava/util/stream/Stream;
aload 2
invokedynamic accept(Ljava/util/function/BiConsumer;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/google/common/collect/Streams.lambda$8(Ljava/util/function/BiConsumer;Lcom/google/common/collect/Streams$TemporaryPair;)V (6)
(Lcom/google/common/collect/Streams$TemporaryPair;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.stream.Stream.iterator:()Ljava/util/Iterator;
astore 3
start local 3 5: aload 1
invokeinterface java.util.stream.Stream.iterator:()Ljava/util/Iterator;
astore 4
start local 4 6: goto 8
7: StackMap locals: java.util.Iterator java.util.Iterator
StackMap stack:
aload 2
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 9
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 4 end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 streamA Ljava/util/stream/Stream<TA;>;
0 10 1 streamB Ljava/util/stream/Stream<TB;>;
0 10 2 consumer Ljava/util/function/BiConsumer<-TA;-TB;>;
5 9 3 iterA Ljava/util/Iterator<TA;>;
6 9 4 iterB Ljava/util/Iterator<TB;>;
Signature: <A:Ljava/lang/Object;B:Ljava/lang/Object;>(Ljava/util/stream/Stream<TA;>;Ljava/util/stream/Stream<TB;>;Ljava/util/function/BiConsumer<-TA;-TB;>;)V
MethodParameters:
Name Flags
streamA
streamB
consumer
public static <T, R> java.util.stream.Stream<R> mapWithIndex(java.util.stream.Stream<T>, com.google.common.collect.Streams$FunctionWithIndex<? super T, ? extends R>);
descriptor: (Ljava/util/stream/Stream;Lcom/google/common/collect/Streams$FunctionWithIndex;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokeinterface java.util.stream.Stream.isParallel:()Z
istore 2
start local 2 3: aload 0
invokeinterface java.util.stream.Stream.spliterator:()Ljava/util/Spliterator;
astore 3
start local 3 4: aload 3
sipush 16384
invokeinterface java.util.Spliterator.hasCharacteristics:(I)Z
ifne 14
5: aload 3
invokestatic java.util.Spliterators.iterator:(Ljava/util/Spliterator;)Ljava/util/Iterator;
astore 4
start local 4 6: new com.google.common.collect.Streams$2
dup
7: aload 3
invokeinterface java.util.Spliterator.estimateSize:()J
8: aload 3
invokeinterface java.util.Spliterator.characteristics:()I
bipush 80
iand
9: aload 4
aload 1
invokespecial com.google.common.collect.Streams$2.<init>:(JILjava/util/Iterator;Lcom/google/common/collect/Streams$FunctionWithIndex;)V
10: iload 2
11: invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
12: aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/Stream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
13: areturn
end local 4 14: StackMap locals: int java.util.Spliterator
StackMap stack:
new com.google.common.collect.Streams$1Splitr
dup
aload 3
lconst_0
aload 1
invokespecial com.google.common.collect.Streams$1Splitr.<init>:(Ljava/util/Spliterator;JLcom/google/common/collect/Streams$FunctionWithIndex;)V
iload 2
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/Stream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 stream Ljava/util/stream/Stream<TT;>;
0 15 1 function Lcom/google/common/collect/Streams$FunctionWithIndex<-TT;+TR;>;
3 15 2 isParallel Z
4 15 3 fromSpliterator Ljava/util/Spliterator<TT;>;
6 14 4 fromIterator Ljava/util/Iterator<TT;>;
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>(Ljava/util/stream/Stream<TT;>;Lcom/google/common/collect/Streams$FunctionWithIndex<-TT;+TR;>;)Ljava/util/stream/Stream<TR;>;
MethodParameters:
Name Flags
stream
function
public static <R> java.util.stream.Stream<R> mapWithIndex(java.util.stream.IntStream, com.google.common.collect.Streams$IntFunctionWithIndex<R>);
descriptor: (Ljava/util/stream/IntStream;Lcom/google/common/collect/Streams$IntFunctionWithIndex;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokeinterface java.util.stream.IntStream.isParallel:()Z
istore 2
start local 2 3: aload 0
invokeinterface java.util.stream.IntStream.spliterator:()Ljava/util/Spliterator$OfInt;
astore 3
start local 3 4: aload 3
sipush 16384
invokeinterface java.util.Spliterator$OfInt.hasCharacteristics:(I)Z
ifne 14
5: aload 3
invokestatic java.util.Spliterators.iterator:(Ljava/util/Spliterator$OfInt;)Ljava/util/PrimitiveIterator$OfInt;
astore 4
start local 4 6: new com.google.common.collect.Streams$3
dup
7: aload 3
invokeinterface java.util.Spliterator$OfInt.estimateSize:()J
8: aload 3
invokeinterface java.util.Spliterator$OfInt.characteristics:()I
bipush 80
iand
9: aload 4
aload 1
invokespecial com.google.common.collect.Streams$3.<init>:(JILjava/util/PrimitiveIterator$OfInt;Lcom/google/common/collect/Streams$IntFunctionWithIndex;)V
10: iload 2
11: invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
12: aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/IntStream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
13: areturn
end local 4 14: StackMap locals: int java.util.Spliterator$OfInt
StackMap stack:
new com.google.common.collect.Streams$2Splitr
dup
aload 3
lconst_0
aload 1
invokespecial com.google.common.collect.Streams$2Splitr.<init>:(Ljava/util/Spliterator$OfInt;JLcom/google/common/collect/Streams$IntFunctionWithIndex;)V
iload 2
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/IntStream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 stream Ljava/util/stream/IntStream;
0 15 1 function Lcom/google/common/collect/Streams$IntFunctionWithIndex<TR;>;
3 15 2 isParallel Z
4 15 3 fromSpliterator Ljava/util/Spliterator$OfInt;
6 14 4 fromIterator Ljava/util/PrimitiveIterator$OfInt;
Signature: <R:Ljava/lang/Object;>(Ljava/util/stream/IntStream;Lcom/google/common/collect/Streams$IntFunctionWithIndex<TR;>;)Ljava/util/stream/Stream<TR;>;
MethodParameters:
Name Flags
stream
function
public static <R> java.util.stream.Stream<R> mapWithIndex(java.util.stream.LongStream, com.google.common.collect.Streams$LongFunctionWithIndex<R>);
descriptor: (Ljava/util/stream/LongStream;Lcom/google/common/collect/Streams$LongFunctionWithIndex;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokeinterface java.util.stream.LongStream.isParallel:()Z
istore 2
start local 2 3: aload 0
invokeinterface java.util.stream.LongStream.spliterator:()Ljava/util/Spliterator$OfLong;
astore 3
start local 3 4: aload 3
sipush 16384
invokeinterface java.util.Spliterator$OfLong.hasCharacteristics:(I)Z
ifne 14
5: aload 3
invokestatic java.util.Spliterators.iterator:(Ljava/util/Spliterator$OfLong;)Ljava/util/PrimitiveIterator$OfLong;
astore 4
start local 4 6: new com.google.common.collect.Streams$4
dup
7: aload 3
invokeinterface java.util.Spliterator$OfLong.estimateSize:()J
8: aload 3
invokeinterface java.util.Spliterator$OfLong.characteristics:()I
bipush 80
iand
9: aload 4
aload 1
invokespecial com.google.common.collect.Streams$4.<init>:(JILjava/util/PrimitiveIterator$OfLong;Lcom/google/common/collect/Streams$LongFunctionWithIndex;)V
10: iload 2
11: invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
12: aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/LongStream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
13: areturn
end local 4 14: StackMap locals: int java.util.Spliterator$OfLong
StackMap stack:
new com.google.common.collect.Streams$3Splitr
dup
aload 3
lconst_0
aload 1
invokespecial com.google.common.collect.Streams$3Splitr.<init>:(Ljava/util/Spliterator$OfLong;JLcom/google/common/collect/Streams$LongFunctionWithIndex;)V
iload 2
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/LongStream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 stream Ljava/util/stream/LongStream;
0 15 1 function Lcom/google/common/collect/Streams$LongFunctionWithIndex<TR;>;
3 15 2 isParallel Z
4 15 3 fromSpliterator Ljava/util/Spliterator$OfLong;
6 14 4 fromIterator Ljava/util/PrimitiveIterator$OfLong;
Signature: <R:Ljava/lang/Object;>(Ljava/util/stream/LongStream;Lcom/google/common/collect/Streams$LongFunctionWithIndex<TR;>;)Ljava/util/stream/Stream<TR;>;
MethodParameters:
Name Flags
stream
function
public static <R> java.util.stream.Stream<R> mapWithIndex(java.util.stream.DoubleStream, com.google.common.collect.Streams$DoubleFunctionWithIndex<R>);
descriptor: (Ljava/util/stream/DoubleStream;Lcom/google/common/collect/Streams$DoubleFunctionWithIndex;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokeinterface java.util.stream.DoubleStream.isParallel:()Z
istore 2
start local 2 3: aload 0
invokeinterface java.util.stream.DoubleStream.spliterator:()Ljava/util/Spliterator$OfDouble;
astore 3
start local 3 4: aload 3
sipush 16384
invokeinterface java.util.Spliterator$OfDouble.hasCharacteristics:(I)Z
ifne 14
5: aload 3
invokestatic java.util.Spliterators.iterator:(Ljava/util/Spliterator$OfDouble;)Ljava/util/PrimitiveIterator$OfDouble;
astore 4
start local 4 6: new com.google.common.collect.Streams$5
dup
7: aload 3
invokeinterface java.util.Spliterator$OfDouble.estimateSize:()J
8: aload 3
invokeinterface java.util.Spliterator$OfDouble.characteristics:()I
bipush 80
iand
9: aload 4
aload 1
invokespecial com.google.common.collect.Streams$5.<init>:(JILjava/util/PrimitiveIterator$OfDouble;Lcom/google/common/collect/Streams$DoubleFunctionWithIndex;)V
10: iload 2
11: invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
12: aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/DoubleStream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
13: areturn
end local 4 14: StackMap locals: int java.util.Spliterator$OfDouble
StackMap stack:
new com.google.common.collect.Streams$4Splitr
dup
aload 3
lconst_0
aload 1
invokespecial com.google.common.collect.Streams$4Splitr.<init>:(Ljava/util/Spliterator$OfDouble;JLcom/google/common/collect/Streams$DoubleFunctionWithIndex;)V
iload 2
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/stream/DoubleStream;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/util/stream/BaseStream.close()V (9 itf)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 stream Ljava/util/stream/DoubleStream;
0 15 1 function Lcom/google/common/collect/Streams$DoubleFunctionWithIndex<TR;>;
3 15 2 isParallel Z
4 15 3 fromSpliterator Ljava/util/Spliterator$OfDouble;
6 14 4 fromIterator Ljava/util/PrimitiveIterator$OfDouble;
Signature: <R:Ljava/lang/Object;>(Ljava/util/stream/DoubleStream;Lcom/google/common/collect/Streams$DoubleFunctionWithIndex<TR;>;)Ljava/util/stream/Stream<TR;>;
MethodParameters:
Name Flags
stream
function
public static <T> java.util.Optional<T> findLast(java.util.stream.Stream<T>);
descriptor: (Ljava/util/stream/Stream;)Ljava/util/Optional;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new com.google.common.collect.Streams$1OptionalState
dup
invokespecial com.google.common.collect.Streams$1OptionalState.<init>:()V
astore 1
start local 1 1: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
invokeinterface java.util.stream.Stream.spliterator:()Ljava/util/Spliterator;
invokeinterface java.util.Deque.addLast:(Ljava/lang/Object;)V
3: goto 22
4: StackMap locals: com.google.common.collect.Streams$1OptionalState java.util.Deque
StackMap stack:
aload 2
invokeinterface java.util.Deque.removeLast:()Ljava/lang/Object;
checkcast java.util.Spliterator
astore 3
start local 3 5: aload 3
invokeinterface java.util.Spliterator.getExactSizeIfKnown:()J
lconst_0
lcmp
ifne 7
6: goto 22
7: StackMap locals: java.util.Spliterator
StackMap stack:
aload 3
sipush 16384
invokeinterface java.util.Spliterator.hasCharacteristics:(I)Z
ifeq 15
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Spliterator.trySplit:()Ljava/util/Spliterator;
astore 4
start local 4 9: aload 4
ifnull 13
aload 4
invokeinterface java.util.Spliterator.getExactSizeIfKnown:()J
lconst_0
lcmp
ifne 11
10: goto 13
11: StackMap locals: java.util.Spliterator
StackMap stack:
aload 3
invokeinterface java.util.Spliterator.getExactSizeIfKnown:()J
lconst_0
lcmp
ifne 8
12: aload 4
astore 3
end local 4 13: StackMap locals:
StackMap stack:
aload 3
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lcom/google/common/collect/Streams$1OptionalState;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/google/common/collect/Streams$1OptionalState.set(Ljava/lang/Object;)V (5)
(Ljava/lang/Object;)V
invokeinterface java.util.Spliterator.forEachRemaining:(Ljava/util/function/Consumer;)V
14: aload 1
invokevirtual com.google.common.collect.Streams$1OptionalState.get:()Ljava/lang/Object;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
15: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Spliterator.trySplit:()Ljava/util/Spliterator;
astore 5
start local 5 16: aload 5
ifnull 17
aload 5
invokeinterface java.util.Spliterator.getExactSizeIfKnown:()J
lconst_0
lcmp
ifne 20
17: StackMap locals: java.util.stream.Stream com.google.common.collect.Streams$1OptionalState java.util.Deque java.util.Spliterator top java.util.Spliterator
StackMap stack:
aload 3
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lcom/google/common/collect/Streams$1OptionalState;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/google/common/collect/Streams$1OptionalState.set(Ljava/lang/Object;)V (5)
(Ljava/lang/Object;)V
invokeinterface java.util.Spliterator.forEachRemaining:(Ljava/util/function/Consumer;)V
18: aload 1
getfield com.google.common.collect.Streams$1OptionalState.set:Z
ifeq 22
19: aload 1
invokevirtual com.google.common.collect.Streams$1OptionalState.get:()Ljava/lang/Object;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
20: StackMap locals:
StackMap stack:
aload 2
aload 5
invokeinterface java.util.Deque.addLast:(Ljava/lang/Object;)V
21: aload 2
aload 3
invokeinterface java.util.Deque.addLast:(Ljava/lang/Object;)V
end local 5 end local 3 22: StackMap locals: java.util.stream.Stream com.google.common.collect.Streams$1OptionalState java.util.Deque
StackMap stack:
aload 2
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 4
23: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 stream Ljava/util/stream/Stream<TT;>;
1 24 1 state Lcom/google/common/collect/Streams$1OptionalState;
2 24 2 splits Ljava/util/Deque<Ljava/util/Spliterator<TT;>;>;
5 22 3 spliterator Ljava/util/Spliterator<TT;>;
9 13 4 prefix Ljava/util/Spliterator<TT;>;
16 22 5 prefix Ljava/util/Spliterator<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/stream/Stream<TT;>;)Ljava/util/Optional<TT;>;
MethodParameters:
Name Flags
stream
public static java.util.OptionalInt findLast(java.util.stream.IntStream);
descriptor: (Ljava/util/stream/IntStream;)Ljava/util/OptionalInt;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.stream.IntStream.boxed:()Ljava/util/stream/Stream;
invokestatic com.google.common.collect.Streams.findLast:(Ljava/util/stream/Stream;)Ljava/util/Optional;
astore 1
start local 1 1: aload 1
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
aload 1
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokestatic java.util.OptionalInt.of:(I)Ljava/util/OptionalInt;
goto 3
StackMap locals: java.util.Optional
StackMap stack:
2: invokestatic java.util.OptionalInt.empty:()Ljava/util/OptionalInt;
StackMap locals:
StackMap stack: java.util.OptionalInt
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 stream Ljava/util/stream/IntStream;
1 4 1 boxedLast Ljava/util/Optional<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
stream
public static java.util.OptionalLong findLast(java.util.stream.LongStream);
descriptor: (Ljava/util/stream/LongStream;)Ljava/util/OptionalLong;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.stream.LongStream.boxed:()Ljava/util/stream/Stream;
invokestatic com.google.common.collect.Streams.findLast:(Ljava/util/stream/Stream;)Ljava/util/Optional;
astore 1
start local 1 1: aload 1
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
aload 1
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
goto 3
StackMap locals: java.util.Optional
StackMap stack:
2: invokestatic java.util.OptionalLong.empty:()Ljava/util/OptionalLong;
StackMap locals:
StackMap stack: java.util.OptionalLong
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 stream Ljava/util/stream/LongStream;
1 4 1 boxedLast Ljava/util/Optional<Ljava/lang/Long;>;
MethodParameters:
Name Flags
stream
public static java.util.OptionalDouble findLast(java.util.stream.DoubleStream);
descriptor: (Ljava/util/stream/DoubleStream;)Ljava/util/OptionalDouble;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.stream.DoubleStream.boxed:()Ljava/util/stream/Stream;
invokestatic com.google.common.collect.Streams.findLast:(Ljava/util/stream/Stream;)Ljava/util/Optional;
astore 1
start local 1 1: aload 1
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
aload 1
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic java.util.OptionalDouble.of:(D)Ljava/util/OptionalDouble;
goto 3
StackMap locals: java.util.Optional
StackMap stack:
2: invokestatic java.util.OptionalDouble.empty:()Ljava/util/OptionalDouble;
StackMap locals:
StackMap stack: java.util.OptionalDouble
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 stream Ljava/util/stream/DoubleStream;
1 4 1 boxedLast Ljava/util/Optional<Ljava/lang/Double;>;
MethodParameters:
Name Flags
stream
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/Streams;
private static java.util.Spliterator lambda$0(java.util.Spliterator);
descriptor: (Ljava/util/Spliterator;)Ljava/util/Spliterator;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 splitr Ljava/util/Spliterator<+TT;>;
private static void lambda$1(java.util.stream.Stream[]);
descriptor: ([Ljava/util/stream/Stream;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=5, args_size=1
0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: java.util.stream.Stream[] top int int java.util.stream.Stream[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokeinterface java.util.stream.Stream.close:()V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: return
LocalVariableTable:
Start End Slot Name Signature
2 3 1 stream Ljava/util/stream/Stream<+TT;>;
private static java.util.stream.IntStream lambda$2(java.util.stream.IntStream);
descriptor: (Ljava/util/stream/IntStream;)Ljava/util/stream/IntStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Ljava/util/stream/IntStream;
private static java.util.stream.LongStream lambda$3(java.util.stream.LongStream);
descriptor: (Ljava/util/stream/LongStream;)Ljava/util/stream/LongStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Ljava/util/stream/LongStream;
private static java.util.stream.DoubleStream lambda$4(java.util.stream.DoubleStream);
descriptor: (Ljava/util/stream/DoubleStream;)Ljava/util/stream/DoubleStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Ljava/util/stream/DoubleStream;
private static void lambda$8(java.util.function.BiConsumer, com.google.common.collect.Streams$TemporaryPair);
descriptor: (Ljava/util/function/BiConsumer;Lcom/google/common/collect/Streams$TemporaryPair;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
getfield com.google.common.collect.Streams$TemporaryPair.a:Ljava/lang/Object;
aload 1
getfield com.google.common.collect.Streams$TemporaryPair.b:Ljava/lang/Object;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 pair Lcom/google/common/collect/Streams$TemporaryPair<TA;TB;>;
}
SourceFile: "Streams.java"
NestMembers:
com.google.common.collect.Streams$1 com.google.common.collect.Streams$1OptionalState com.google.common.collect.Streams$1Splitr com.google.common.collect.Streams$2 com.google.common.collect.Streams$2Splitr com.google.common.collect.Streams$3 com.google.common.collect.Streams$3Splitr com.google.common.collect.Streams$4 com.google.common.collect.Streams$4Splitr com.google.common.collect.Streams$5 com.google.common.collect.Streams$DoubleFunctionWithIndex com.google.common.collect.Streams$FunctionWithIndex com.google.common.collect.Streams$IntFunctionWithIndex com.google.common.collect.Streams$LongFunctionWithIndex com.google.common.collect.Streams$MapWithIndexSpliterator com.google.common.collect.Streams$TemporaryPair
InnerClasses:
public final Builder = com.google.common.collect.ImmutableList$Builder of com.google.common.collect.ImmutableList
com.google.common.collect.Streams$1
OptionalState = com.google.common.collect.Streams$1OptionalState
Splitr = com.google.common.collect.Streams$1Splitr
com.google.common.collect.Streams$2
Splitr = com.google.common.collect.Streams$2Splitr
com.google.common.collect.Streams$3
Splitr = com.google.common.collect.Streams$3Splitr
com.google.common.collect.Streams$4
Splitr = com.google.common.collect.Streams$4Splitr
com.google.common.collect.Streams$5
public abstract DoubleFunctionWithIndex = com.google.common.collect.Streams$DoubleFunctionWithIndex of com.google.common.collect.Streams
public abstract FunctionWithIndex = com.google.common.collect.Streams$FunctionWithIndex of com.google.common.collect.Streams
public abstract IntFunctionWithIndex = com.google.common.collect.Streams$IntFunctionWithIndex of com.google.common.collect.Streams
public abstract LongFunctionWithIndex = com.google.common.collect.Streams$LongFunctionWithIndex of com.google.common.collect.Streams
private abstract MapWithIndexSpliterator = com.google.common.collect.Streams$MapWithIndexSpliterator of com.google.common.collect.Streams
private TemporaryPair = com.google.common.collect.Streams$TemporaryPair of com.google.common.collect.Streams
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract OfDouble = java.util.PrimitiveIterator$OfDouble of java.util.PrimitiveIterator
public abstract OfInt = java.util.PrimitiveIterator$OfInt of java.util.PrimitiveIterator
public abstract OfLong = java.util.PrimitiveIterator$OfLong of java.util.PrimitiveIterator
public abstract OfDouble = java.util.Spliterator$OfDouble of java.util.Spliterator
public abstract OfInt = java.util.Spliterator$OfInt of java.util.Spliterator
public abstract OfLong = java.util.Spliterator$OfLong of java.util.Spliterator
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtCompatible()