public final class org.xnio.Sequence<T> extends java.util.AbstractList<T> implements java.util.List<T>, java.util.RandomAccess, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.xnio.Sequence
super_class: java.util.AbstractList
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3042164316147742903
private final java.lang.Object[] values;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.Object[] empty;
descriptor: [Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.xnio.Sequence<?> EMPTY;
descriptor: Lorg/xnio/Sequence;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/xnio/Sequence<*>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: iconst_0
anewarray java.lang.Object
putstatic org.xnio.Sequence.empty:[Ljava/lang/Object;
1: new org.xnio.Sequence
dup
getstatic org.xnio.Sequence.empty:[Ljava/lang/Object;
invokespecial org.xnio.Sequence.<init>:([Ljava/lang/Object;)V
putstatic org.xnio.Sequence.EMPTY:Lorg/xnio/Sequence;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: aload 1
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
astore 2
start local 2 2: aload 0
aload 2
putfield org.xnio.Sequence.values:[Ljava/lang/Object;
3: iconst_0
istore 3
start local 3 4: aload 2
arraylength
istore 4
start local 4 5: goto 9
6: StackMap locals: org.xnio.Sequence java.lang.Object[] java.lang.Object[] int int
StackMap stack:
aload 2
iload 3
aaload
ifnonnull 8
7: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
ldc "option"
iload 3
invokeinterface org.xnio._private.Messages.nullArrayIndex:(Ljava/lang/String;I)Ljava/lang/IllegalArgumentException;
athrow
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 6
end local 4 end local 3 10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/xnio/Sequence<TT;>;
0 11 1 values [Ljava/lang/Object;
2 11 2 realValues [Ljava/lang/Object;
4 10 3 i I
5 10 4 length I
MethodParameters:
Name Flags
values final
public static <T> org.xnio.Sequence<T> of(T[]);
descriptor: ([Ljava/lang/Object;)Lorg/xnio/Sequence;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
arraylength
ifne 2
1: invokestatic org.xnio.Sequence.empty:()Lorg/xnio/Sequence;
areturn
2: StackMap locals:
StackMap stack:
new org.xnio.Sequence
dup
aload 0
invokespecial org.xnio.Sequence.<init>:([Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 members [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)Lorg/xnio/Sequence<TT;>;
MethodParameters:
Name Flags
members
public static <T> org.xnio.Sequence<T> of(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)Lorg/xnio/Sequence;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
instanceof org.xnio.Sequence
ifeq 2
1: aload 0
checkcast org.xnio.Sequence
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 1
start local 1 3: aload 1
arraylength
ifne 5
4: invokestatic org.xnio.Sequence.empty:()Lorg/xnio/Sequence;
areturn
5: StackMap locals: java.lang.Object[]
StackMap stack:
new org.xnio.Sequence
dup
aload 1
invokespecial org.xnio.Sequence.<init>:([Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 members Ljava/util/Collection<TT;>;
3 6 1 objects [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)Lorg/xnio/Sequence<TT;>;
MethodParameters:
Name Flags
members
public <N> org.xnio.Sequence<N> cast(java.lang.Class<N>);
descriptor: (Ljava/lang/Class;)Lorg/xnio/Sequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: org.xnio.Sequence java.lang.Class top int int java.lang.Object[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/Sequence<TT;>;
0 6 1 newType Ljava/lang/Class<TN;>;
2 3 2 value Ljava/lang/Object;
Exceptions:
throws java.lang.ClassCastException
Signature: <N:Ljava/lang/Object;>(Ljava/lang/Class<TN;>;)Lorg/xnio/Sequence<TN;>;
MethodParameters:
Name Flags
newType
public static <T> org.xnio.Sequence<T> empty();
descriptor: ()Lorg/xnio/Sequence;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.xnio.Sequence.EMPTY:Lorg/xnio/Sequence;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lorg/xnio/Sequence<TT;>;
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Sequence<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Sequence<TT;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
arraylength
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/Sequence<TT;>;
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Sequence<TT;>;
public T get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Sequence<TT;>;
0 1 1 index I
Signature: (I)TT;
MethodParameters:
Name Flags
index final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.xnio.Sequence
ifeq 1
aload 0
aload 1
checkcast org.xnio.Sequence
invokevirtual org.xnio.Sequence.equals:(Lorg/xnio/Sequence;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/Sequence<TT;>;
0 2 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public boolean equals(org.xnio.Sequence<?>);
descriptor: (Lorg/xnio/Sequence;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpeq 2
aload 1
ifnull 1
aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
aload 1
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/Sequence<TT;>;
0 3 1 other Lorg/xnio/Sequence<*>;
Signature: (Lorg/xnio/Sequence<*>;)Z
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.Sequence.values:[Ljava/lang/Object;
invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Sequence<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/AbstractList<TT;>;Ljava/util/List<TT;>;Ljava/util/RandomAccess;Ljava/io/Serializable;
SourceFile: "Sequence.java"