public abstract class java.nio.IntBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.IntBuffer>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.nio.IntBuffer
super_class: java.nio.Buffer
{
final int[] hb;
descriptor: [I
flags: (0x0010) ACC_FINAL
final int offset;
descriptor: I
flags: (0x0010) ACC_FINAL
boolean isReadOnly;
descriptor: Z
flags: (0x0000)
void <init>(int, int, int, int, int[], int);
descriptor: (IIII[II)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial java.nio.Buffer.<init>:(IIII)V
1: aload 0
aload 5
putfield java.nio.IntBuffer.hb:[I
2: aload 0
iload 6
putfield java.nio.IntBuffer.offset:I
3: return
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 4 0 this Ljava/nio/IntBuffer;
0 4 1 mark I
0 4 2 pos I
0 4 3 lim I
0 4 4 cap I
0 4 5 hb [I
0 4 6 offset I
MethodParameters:
Name Flags
mark
pos
lim
cap
hb
offset
void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
aconst_null
iconst_0
invokespecial java.nio.IntBuffer.<init>:(IIII[II)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/IntBuffer;
0 2 1 mark I
0 2 2 pos I
0 2 3 lim I
0 2 4 cap I
MethodParameters:
Name Flags
mark
pos
lim
cap
public static java.nio.IntBuffer allocate(int);
descriptor: (I)Ljava/nio/IntBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iload 0
ifge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new java.nio.HeapIntBuffer
dup
iload 0
iload 0
invokespecial java.nio.HeapIntBuffer.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 capacity I
MethodParameters:
Name Flags
capacity
public static java.nio.IntBuffer wrap(int[], int, int);
descriptor: ([III)Ljava/nio/IntBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.nio.HeapIntBuffer
dup
aload 0
iload 1
iload 2
invokespecial java.nio.HeapIntBuffer.<init>:([III)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
3: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [I
0 4 1 offset I
0 4 2 length I
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
array
offset
length
public static java.nio.IntBuffer wrap(int[]);
descriptor: ([I)Ljava/nio/IntBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic java.nio.IntBuffer.wrap:([III)Ljava/nio/IntBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
public abstract java.nio.IntBuffer slice();
descriptor: ()Ljava/nio/IntBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.IntBuffer duplicate();
descriptor: ()Ljava/nio/IntBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.IntBuffer asReadOnlyBuffer();
descriptor: ()Ljava/nio/IntBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int get();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.IntBuffer put(int);
descriptor: (I)Ljava/nio/IntBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
i
public abstract int get(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public abstract java.nio.IntBuffer put(int, int);
descriptor: (II)Ljava/nio/IntBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
i
public java.nio.IntBuffer get(int[], int, int);
descriptor: ([III)Ljava/nio/IntBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
aload 1
arraylength
invokestatic java.nio.IntBuffer.checkBounds:(III)V
1: iload 3
aload 0
invokevirtual java.nio.IntBuffer.remaining:()I
if_icmple 3
2: new java.nio.BufferUnderflowException
dup
invokespecial java.nio.BufferUnderflowException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 4
start local 4 4: iload 2
istore 5
start local 5 5: goto 8
6: StackMap locals: int int
StackMap stack:
aload 1
iload 5
aload 0
invokevirtual java.nio.IntBuffer.get:()I
iastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 4
if_icmplt 6
end local 5 9: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/nio/IntBuffer;
0 10 1 dst [I
0 10 2 offset I
0 10 3 length I
4 10 4 end I
5 9 5 i I
MethodParameters:
Name Flags
dst
offset
length
public java.nio.IntBuffer get(int[]);
descriptor: ([I)Ljava/nio/IntBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.nio.IntBuffer.get:([III)Ljava/nio/IntBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/IntBuffer;
0 1 1 dst [I
MethodParameters:
Name Flags
dst
public java.nio.IntBuffer put(java.nio.IntBuffer);
descriptor: (Ljava/nio/IntBuffer;)Ljava/nio/IntBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.IntBuffer.remaining:()I
istore 2
start local 2 3: iload 2
aload 0
invokevirtual java.nio.IntBuffer.remaining:()I
if_icmple 5
4: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual java.nio.IntBuffer.get:()I
invokevirtual java.nio.IntBuffer.put:(I)Ljava/nio/IntBuffer;
pop
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 7
end local 3 10: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/nio/IntBuffer;
0 11 1 src Ljava/nio/IntBuffer;
3 11 2 n I
6 10 3 i I
MethodParameters:
Name Flags
src
public java.nio.IntBuffer put(int[], int, int);
descriptor: ([III)Ljava/nio/IntBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
aload 1
arraylength
invokestatic java.nio.IntBuffer.checkBounds:(III)V
1: iload 3
aload 0
invokevirtual java.nio.IntBuffer.remaining:()I
if_icmple 3
2: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 4
start local 4 4: iload 2
istore 5
start local 5 5: goto 8
6: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 5
iaload
invokevirtual java.nio.IntBuffer.put:(I)Ljava/nio/IntBuffer;
pop
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 4
if_icmplt 6
end local 5 9: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/nio/IntBuffer;
0 10 1 src [I
0 10 2 offset I
0 10 3 length I
4 10 4 end I
5 9 5 i I
MethodParameters:
Name Flags
src
offset
length
public final java.nio.IntBuffer put(int[]);
descriptor: ([I)Ljava/nio/IntBuffer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.nio.IntBuffer.put:([III)Ljava/nio/IntBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/IntBuffer;
0 1 1 src [I
MethodParameters:
Name Flags
src
public final boolean hasArray();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.IntBuffer.hb:[I
ifnull 1
aload 0
getfield java.nio.IntBuffer.isReadOnly:Z
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 Ljava/nio/IntBuffer;
public final int[] array();
descriptor: ()[I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.IntBuffer.hb:[I
ifnonnull 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.IntBuffer.isReadOnly:Z
ifeq 4
3: new java.nio.ReadOnlyBufferException
dup
invokespecial java.nio.ReadOnlyBufferException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.IntBuffer.hb:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/IntBuffer;
public final int arrayOffset();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.nio.IntBuffer.hb:[I
ifnonnull 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.IntBuffer.isReadOnly:Z
ifeq 4
3: new java.nio.ReadOnlyBufferException
dup
invokespecial java.nio.ReadOnlyBufferException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield java.nio.IntBuffer.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/nio/IntBuffer;
public abstract java.nio.IntBuffer compact();
descriptor: ()Ljava/nio/IntBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isDirect();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: aload 1
ldc "[pos="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: aload 1
aload 0
invokevirtual java.nio.IntBuffer.position:()I
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
4: aload 1
ldc " lim="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: aload 1
aload 0
invokevirtual java.nio.IntBuffer.limit:()I
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
6: aload 1
ldc " cap="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
7: aload 1
aload 0
invokevirtual java.nio.IntBuffer.capacity:()I
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
8: aload 1
ldc "]"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/nio/IntBuffer;
1 10 1 sb Ljava/lang/StringBuffer;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
invokevirtual java.nio.IntBuffer.position:()I
istore 2
start local 2 2: aload 0
invokevirtual java.nio.IntBuffer.limit:()I
iconst_1
isub
istore 3
start local 3 3: goto 6
4: StackMap locals: int int int
StackMap stack:
bipush 31
iload 1
imul
aload 0
iload 3
invokevirtual java.nio.IntBuffer.get:(I)I
iadd
istore 1
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmpge 4
end local 3 7: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/nio/IntBuffer;
1 8 1 h I
2 8 2 p I
3 7 3 i I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.nio.IntBuffer
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.nio.IntBuffer
astore 2
start local 2 5: aload 0
invokevirtual java.nio.IntBuffer.remaining:()I
aload 2
invokevirtual java.nio.IntBuffer.remaining:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: java.nio.IntBuffer
StackMap stack:
aload 0
invokevirtual java.nio.IntBuffer.position:()I
istore 3
start local 3 8: aload 0
invokevirtual java.nio.IntBuffer.limit:()I
iconst_1
isub
istore 4
start local 4 9: aload 2
invokevirtual java.nio.IntBuffer.limit:()I
iconst_1
isub
istore 5
start local 5 10: goto 18
11: StackMap locals: int int int
StackMap stack:
aload 0
iload 4
invokevirtual java.nio.IntBuffer.get:(I)I
istore 6
start local 6 12: aload 2
iload 5
invokevirtual java.nio.IntBuffer.get:(I)I
istore 7
start local 7 13: iload 6
iload 7
if_icmpeq 17
14: iload 6
iload 6
if_icmpeq 16
iload 7
iload 7
if_icmpeq 16
15: goto 17
16: StackMap locals: int int
StackMap stack:
iconst_0
ireturn
end local 7 end local 6 17: StackMap locals:
StackMap stack:
iinc 4 -1
iinc 5 -1
StackMap locals:
StackMap stack:
18: iload 4
iload 3
if_icmpge 11
end local 5 end local 4 19: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/nio/IntBuffer;
0 20 1 ob Ljava/lang/Object;
5 20 2 that Ljava/nio/IntBuffer;
8 20 3 p I
9 19 4 i I
10 19 5 j I
12 17 6 v1 I
13 17 7 v2 I
MethodParameters:
Name Flags
ob
public int compareTo(java.nio.IntBuffer);
descriptor: (Ljava/nio/IntBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.IntBuffer.position:()I
aload 0
invokevirtual java.nio.IntBuffer.remaining:()I
aload 1
invokevirtual java.nio.IntBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
iadd
istore 2
start local 2 1: aload 0
invokevirtual java.nio.IntBuffer.position:()I
istore 3
start local 3 2: aload 1
invokevirtual java.nio.IntBuffer.position:()I
istore 4
start local 4 3: goto 14
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual java.nio.IntBuffer.get:(I)I
istore 5
start local 5 5: aload 1
iload 4
invokevirtual java.nio.IntBuffer.get:(I)I
istore 6
start local 6 6: iload 5
iload 6
if_icmpne 8
7: goto 13
8: StackMap locals: int int
StackMap stack:
iload 5
iload 5
if_icmpeq 10
iload 6
iload 6
if_icmpeq 10
9: goto 13
10: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmpge 12
11: iconst_m1
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 end local 5 13: StackMap locals:
StackMap stack:
iinc 3 1
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 3
iload 2
if_icmplt 4
end local 4 end local 3 15: aload 0
invokevirtual java.nio.IntBuffer.remaining:()I
aload 1
invokevirtual java.nio.IntBuffer.remaining:()I
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/nio/IntBuffer;
0 16 1 that Ljava/nio/IntBuffer;
1 16 2 n I
2 15 3 i I
3 15 4 j I
5 13 5 v1 I
6 13 6 v2 I
MethodParameters:
Name Flags
that
public abstract java.nio.ByteOrder order();
descriptor: ()Ljava/nio/ByteOrder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.IntBuffer
invokevirtual java.nio.IntBuffer.compareTo:(Ljava/nio/IntBuffer;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object array();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual java.nio.IntBuffer.array:()[I
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/nio/Buffer;Ljava/lang/Comparable<Ljava/nio/IntBuffer;>;
SourceFile: "IntBuffer.java"