public abstract class sun.tools.jstat.Operator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.tools.jstat.Operator
super_class: java.lang.Object
{
private static int nextOrdinal;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.HashMap<java.lang.String, sun.tools.jstat.Operator> map;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/HashMap<Ljava/lang/String;Lsun/tools/jstat/Operator;>;
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int ordinal;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final sun.tools.jstat.Operator PLUS;
descriptor: Lsun/tools/jstat/Operator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.tools.jstat.Operator MINUS;
descriptor: Lsun/tools/jstat/Operator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.tools.jstat.Operator DIVIDE;
descriptor: Lsun/tools/jstat/Operator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.tools.jstat.Operator MULTIPLY;
descriptor: Lsun/tools/jstat/Operator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: iconst_0
putstatic sun.tools.jstat.Operator.nextOrdinal:I
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic sun.tools.jstat.Operator.map:Ljava/util/HashMap;
2: new sun.tools.jstat.Operator$1
dup
ldc "+"
invokespecial sun.tools.jstat.Operator$1.<init>:(Ljava/lang/String;)V
putstatic sun.tools.jstat.Operator.PLUS:Lsun/tools/jstat/Operator;
3: new sun.tools.jstat.Operator$2
dup
ldc "-"
invokespecial sun.tools.jstat.Operator$2.<init>:(Ljava/lang/String;)V
putstatic sun.tools.jstat.Operator.MINUS:Lsun/tools/jstat/Operator;
4: new sun.tools.jstat.Operator$3
dup
ldc "/"
invokespecial sun.tools.jstat.Operator$3.<init>:(Ljava/lang/String;)V
putstatic sun.tools.jstat.Operator.DIVIDE:Lsun/tools/jstat/Operator;
5: new sun.tools.jstat.Operator$4
dup
ldc "*"
invokespecial sun.tools.jstat.Operator$4.<init>:(Ljava/lang/String;)V
putstatic sun.tools.jstat.Operator.MULTIPLY:Lsun/tools/jstat/Operator;
6: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic sun.tools.jstat.Operator.nextOrdinal:I
dup
iconst_1
iadd
putstatic sun.tools.jstat.Operator.nextOrdinal:I
putfield sun.tools.jstat.Operator.ordinal:I
2: aload 0
aload 1
putfield sun.tools.jstat.Operator.name:Ljava/lang/String;
3: getstatic sun.tools.jstat.Operator.map:Ljava/util/HashMap;
aload 1
aload 0
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jstat/Operator;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected abstract double eval(double, double);
descriptor: (DD)D
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
x
y
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Operator.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Operator;
public static sun.tools.jstat.Operator toOperator(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/tools/jstat/Operator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.tools.jstat.Operator.map:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.tools.jstat.Operator
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
protected static java.util.Set<?> keySet();
descriptor: ()Ljava/util/Set;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.tools.jstat.Operator.map:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<*>;
}
SourceFile: "Operator.java"
NestMembers:
sun.tools.jstat.Operator$1 sun.tools.jstat.Operator$2 sun.tools.jstat.Operator$3 sun.tools.jstat.Operator$4
InnerClasses:
sun.tools.jstat.Operator$1
sun.tools.jstat.Operator$2
sun.tools.jstat.Operator$3
sun.tools.jstat.Operator$4