class com.mongodb.client.internal.MappingIterable<U, V> implements com.mongodb.client.MongoIterable<V>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.internal.MappingIterable
super_class: java.lang.Object
{
private final com.mongodb.client.MongoIterable<U> iterable;
descriptor: Lcom/mongodb/client/MongoIterable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/mongodb/client/MongoIterable<TU;>;
private final com.mongodb.Function<U, V> mapper;
descriptor: Lcom/mongodb/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/mongodb/Function<TU;TV;>;
void <init>(com.mongodb.client.MongoIterable<U>, com.mongodb.Function<U, V>);
descriptor: (Lcom/mongodb/client/MongoIterable;Lcom/mongodb/Function;)V
flags: (0x0000)
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
putfield com.mongodb.client.internal.MappingIterable.iterable:Lcom/mongodb/client/MongoIterable;
2: aload 0
aload 2
putfield com.mongodb.client.internal.MappingIterable.mapper:Lcom/mongodb/Function;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
0 4 1 iterable Lcom/mongodb/client/MongoIterable<TU;>;
0 4 2 mapper Lcom/mongodb/Function<TU;TV;>;
Signature: (Lcom/mongodb/client/MongoIterable<TU;>;Lcom/mongodb/Function<TU;TV;>;)V
MethodParameters:
Name Flags
iterable final
mapper final
public com.mongodb.client.MongoCursor<V> iterator();
descriptor: ()Lcom/mongodb/client/MongoCursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.mongodb.client.internal.MongoMappingCursor
dup
aload 0
getfield com.mongodb.client.internal.MappingIterable.iterable:Lcom/mongodb/client/MongoIterable;
invokeinterface com.mongodb.client.MongoIterable.iterator:()Lcom/mongodb/client/MongoCursor;
aload 0
getfield com.mongodb.client.internal.MappingIterable.mapper:Lcom/mongodb/Function;
invokespecial com.mongodb.client.internal.MongoMappingCursor.<init>:(Lcom/mongodb/client/MongoCursor;Lcom/mongodb/Function;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
Signature: ()Lcom/mongodb/client/MongoCursor<TV;>;
public com.mongodb.client.MongoCursor<V> cursor();
descriptor: ()Lcom/mongodb/client/MongoCursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.client.internal.MappingIterable.iterator:()Lcom/mongodb/client/MongoCursor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
Signature: ()Lcom/mongodb/client/MongoCursor<TV;>;
public V first();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MappingIterable.iterable:Lcom/mongodb/client/MongoIterable;
invokeinterface com.mongodb.client.MongoIterable.first:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield com.mongodb.client.internal.MappingIterable.mapper:Lcom/mongodb/Function;
aload 1
invokeinterface com.mongodb.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
1 4 1 first TU;
Signature: ()TV;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public void forEach(com.mongodb.Block<? super V>);
descriptor: (Lcom/mongodb/Block;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.client.internal.MappingIterable.iterable:Lcom/mongodb/client/MongoIterable;
new com.mongodb.client.internal.MappingIterable$1
dup
aload 0
aload 1
invokespecial com.mongodb.client.internal.MappingIterable$1.<init>:(Lcom/mongodb/client/internal/MappingIterable;Lcom/mongodb/Block;)V
invokeinterface com.mongodb.client.MongoIterable.forEach:(Lcom/mongodb/Block;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
0 2 1 block Lcom/mongodb/Block<-TV;>;
Signature: (Lcom/mongodb/Block<-TV;>;)V
MethodParameters:
Name Flags
block final
public <A extends java.util.Collection<? super V>> A into();
descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.mongodb.client.internal.MappingIterable$2
dup
aload 0
aload 1
invokespecial com.mongodb.client.internal.MappingIterable$2.<init>:(Lcom/mongodb/client/internal/MappingIterable;Ljava/util/Collection;)V
invokevirtual com.mongodb.client.internal.MappingIterable.forEach:(Lcom/mongodb/Block;)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
0 2 1 target TA;
Signature: <A::Ljava/util/Collection<-TV;>;>(TA;)TA;
MethodParameters:
Name Flags
target final
public com.mongodb.client.internal.MappingIterable<U, V> batchSize(int);
descriptor: (I)Lcom/mongodb/client/internal/MappingIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.client.internal.MappingIterable.iterable:Lcom/mongodb/client/MongoIterable;
iload 1
invokeinterface com.mongodb.client.MongoIterable.batchSize:(I)Lcom/mongodb/client/MongoIterable;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
0 2 1 batchSize I
Signature: (I)Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
MethodParameters:
Name Flags
batchSize final
public <W> com.mongodb.client.MongoIterable<W> map(com.mongodb.Function<V, W>);
descriptor: (Lcom/mongodb/Function;)Lcom/mongodb/client/MongoIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.client.internal.MappingIterable
dup
aload 0
aload 1
invokespecial com.mongodb.client.internal.MappingIterable.<init>:(Lcom/mongodb/client/MongoIterable;Lcom/mongodb/Function;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
0 1 1 newMap Lcom/mongodb/Function<TV;TW;>;
Signature: <W:Ljava/lang/Object;>(Lcom/mongodb/Function<TV;TW;>;)Lcom/mongodb/client/MongoIterable<TW;>;
MethodParameters:
Name Flags
newMap final
com.mongodb.client.MongoIterable<U> getMapped();
descriptor: ()Lcom/mongodb/client/MongoIterable;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MappingIterable.iterable:Lcom/mongodb/client/MongoIterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MappingIterable<TU;TV;>;
Signature: ()Lcom/mongodb/client/MongoIterable<TU;>;
public com.mongodb.client.MongoIterable batchSize(int);
descriptor: (I)Lcom/mongodb/client/MongoIterable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.mongodb.client.internal.MappingIterable.batchSize:(I)Lcom/mongodb/client/internal/MappingIterable;
areturn
LocalVariableTable:
Start End Slot Name Signature
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.mongodb.client.internal.MappingIterable.iterator:()Lcom/mongodb/client/MongoCursor;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <U:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/client/MongoIterable<TV;>;
SourceFile: "MappingIterable.java"
NestMembers:
com.mongodb.client.internal.MappingIterable$1 com.mongodb.client.internal.MappingIterable$2
InnerClasses:
com.mongodb.client.internal.MappingIterable$1
com.mongodb.client.internal.MappingIterable$2