public class java.util.Stack<E> extends java.util.Vector<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.Stack
super_class: java.util.Vector
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1224463164541339165
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.Vector.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Stack<TE;>;
public E push();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.Stack.addElement:(Ljava/lang/Object;)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Stack<TE;>;
0 2 1 item TE;
Signature: (TE;)TE;
MethodParameters:
Name Flags
item
public synchronized E pop();
descriptor: ()Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Stack.size:()I
istore 2
start local 2 1: aload 0
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
astore 1
start local 1 2: aload 0
iload 2
iconst_1
isub
invokevirtual java.util.Stack.removeElementAt:(I)V
3: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Stack<TE;>;
2 4 1 obj TE;
1 4 2 len I
Signature: ()TE;
public synchronized E peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Stack.size:()I
istore 1
start local 1 1: iload 1
ifne 3
2: new java.util.EmptyStackException
dup
invokespecial java.util.EmptyStackException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
iconst_1
isub
invokevirtual java.util.Stack.elementAt:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Stack<TE;>;
1 4 1 len I
Signature: ()TE;
public boolean empty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Stack.size:()I
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/util/Stack<TE;>;
public synchronized int search(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.Stack.lastIndexOf:(Ljava/lang/Object;)I
istore 2
start local 2 1: iload 2
iflt 3
2: aload 0
invokevirtual java.util.Stack.size:()I
iload 2
isub
ireturn
3: StackMap locals: int
StackMap stack:
iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Stack<TE;>;
0 4 1 o Ljava/lang/Object;
1 4 2 i I
MethodParameters:
Name Flags
o
}
Signature: <E:Ljava/lang/Object;>Ljava/util/Vector<TE;>;
SourceFile: "Stack.java"