public class org.apache.commons.collections4.iterators.SkippingIterator<E> extends org.apache.commons.collections4.iterators.AbstractIteratorDecorator<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.iterators.SkippingIterator
super_class: org.apache.commons.collections4.iterators.AbstractIteratorDecorator
{
private final long offset;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long pos;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.Iterator<E>, );
descriptor: (Ljava/util/Iterator;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.apache.commons.collections4.iterators.AbstractIteratorDecorator.<init>:(Ljava/util/Iterator;)V
1: lload 2
lconst_0
lcmp
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "Offset parameter must not be negative."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.commons.collections4.iterators.SkippingIterator java.util.Iterator long
StackMap stack:
aload 0
lload 2
putfield org.apache.commons.collections4.iterators.SkippingIterator.offset:J
4: aload 0
lconst_0
putfield org.apache.commons.collections4.iterators.SkippingIterator.pos:J
5: aload 0
invokevirtual org.apache.commons.collections4.iterators.SkippingIterator.init:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/iterators/SkippingIterator<TE;>;
0 7 1 iterator Ljava/util/Iterator<TE;>;
0 7 2 offset J
Signature: (Ljava/util/Iterator<TE;>;J)V
MethodParameters:
Name Flags
iterator final
offset final
private void init();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.collections4.iterators.SkippingIterator.next:()Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.iterators.SkippingIterator.pos:J
aload 0
getfield org.apache.commons.collections4.iterators.SkippingIterator.offset:J
lcmp
ifge 3
aload 0
invokevirtual org.apache.commons.collections4.iterators.SkippingIterator.hasNext:()Z
ifne 1
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/iterators/SkippingIterator<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.collections4.iterators.AbstractIteratorDecorator.next:()Ljava/lang/Object;
astore 1
start local 1 1: aload 0
dup
getfield org.apache.commons.collections4.iterators.SkippingIterator.pos:J
lconst_1
ladd
putfield org.apache.commons.collections4.iterators.SkippingIterator.pos:J
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/iterators/SkippingIterator<TE;>;
1 3 1 next TE;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.iterators.SkippingIterator.pos:J
aload 0
getfield org.apache.commons.collections4.iterators.SkippingIterator.offset:J
lcmp
ifgt 2
1: new java.lang.IllegalStateException
dup
ldc "remove() can not be called before calling next()"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokespecial org.apache.commons.collections4.iterators.AbstractIteratorDecorator.remove:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/iterators/SkippingIterator<TE;>;
}
Signature: <E:Ljava/lang/Object;>Lorg/apache/commons/collections4/iterators/AbstractIteratorDecorator<TE;>;
SourceFile: "SkippingIterator.java"