public class javax.print.attribute.standard.MediaSize extends javax.print.attribute.Size2DSyntax implements javax.print.attribute.Attribute
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.print.attribute.standard.MediaSize
super_class: javax.print.attribute.Size2DSyntax
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1967958664615414771
private javax.print.attribute.standard.MediaSizeName mediaName;
descriptor: Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0002) ACC_PRIVATE
private static java.util.HashMap mediaMap;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.Vector sizeVector;
descriptor: Ljava/util/Vector;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.util.HashMap
dup
bipush 100
ldc 10.0
invokespecial java.util.HashMap.<init>:(IF)V
putstatic javax.print.attribute.standard.MediaSize.mediaMap:Ljava/util/HashMap;
1: new java.util.Vector
dup
bipush 100
bipush 10
invokespecial java.util.Vector.<init>:(II)V
putstatic javax.print.attribute.standard.MediaSize.sizeVector:Ljava/util/Vector;
2: getstatic javax.print.attribute.standard.MediaSize$ISO.A4:Ljavax/print/attribute/standard/MediaSize;
pop
3: getstatic javax.print.attribute.standard.MediaSize$JIS.B5:Ljavax/print/attribute/standard/MediaSize;
pop
4: getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
pop
5: getstatic javax.print.attribute.standard.MediaSize$Engineering.C:Ljavax/print/attribute/standard/MediaSize;
pop
6: getstatic javax.print.attribute.standard.MediaSize$Other.EXECUTIVE:Ljavax/print/attribute/standard/MediaSize;
pop
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(float, float, int);
descriptor: (FFI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
fload 1
fload 2
iload 3
invokespecial javax.print.attribute.Size2DSyntax.<init>:(FFI)V
1: fload 1
fload 2
fcmpl
ifle 3
2: new java.lang.IllegalArgumentException
dup
ldc "X dimension > Y dimension"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.attribute.standard.MediaSize float float int
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize.sizeVector:Ljava/util/Vector;
aload 0
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/print/attribute/standard/MediaSize;
0 5 1 x F
0 5 2 y F
0 5 3 units I
MethodParameters:
Name Flags
x
y
units
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
invokespecial javax.print.attribute.Size2DSyntax.<init>:(III)V
1: iload 1
iload 2
if_icmple 3
2: new java.lang.IllegalArgumentException
dup
ldc "X dimension > Y dimension"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.attribute.standard.MediaSize int int int
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize.sizeVector:Ljava/util/Vector;
aload 0
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/print/attribute/standard/MediaSize;
0 5 1 x I
0 5 2 y I
0 5 3 units I
MethodParameters:
Name Flags
x
y
units
public void <init>(float, float, int, javax.print.attribute.standard.MediaSizeName);
descriptor: (FFILjavax/print/attribute/standard/MediaSizeName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
fload 1
fload 2
iload 3
invokespecial javax.print.attribute.Size2DSyntax.<init>:(FFI)V
1: fload 1
fload 2
fcmpl
ifle 3
2: new java.lang.IllegalArgumentException
dup
ldc "X dimension > Y dimension"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.attribute.standard.MediaSize float float int javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 4
ifnull 6
getstatic javax.print.attribute.standard.MediaSize.mediaMap:Ljava/util/HashMap;
aload 4
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 6
4: aload 0
aload 4
putfield javax.print.attribute.standard.MediaSize.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
5: getstatic javax.print.attribute.standard.MediaSize.mediaMap:Ljava/util/HashMap;
aload 0
getfield javax.print.attribute.standard.MediaSize.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
aload 0
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize.sizeVector:Ljava/util/Vector;
aload 0
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/print/attribute/standard/MediaSize;
0 8 1 x F
0 8 2 y F
0 8 3 units I
0 8 4 media Ljavax/print/attribute/standard/MediaSizeName;
MethodParameters:
Name Flags
x
y
units
media
public void <init>(int, int, int, javax.print.attribute.standard.MediaSizeName);
descriptor: (IIILjavax/print/attribute/standard/MediaSizeName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
invokespecial javax.print.attribute.Size2DSyntax.<init>:(III)V
1: iload 1
iload 2
if_icmple 3
2: new java.lang.IllegalArgumentException
dup
ldc "X dimension > Y dimension"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.attribute.standard.MediaSize int int int javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 4
ifnull 6
getstatic javax.print.attribute.standard.MediaSize.mediaMap:Ljava/util/HashMap;
aload 4
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 6
4: aload 0
aload 4
putfield javax.print.attribute.standard.MediaSize.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
5: getstatic javax.print.attribute.standard.MediaSize.mediaMap:Ljava/util/HashMap;
aload 0
getfield javax.print.attribute.standard.MediaSize.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
aload 0
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize.sizeVector:Ljava/util/Vector;
aload 0
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/print/attribute/standard/MediaSize;
0 8 1 x I
0 8 2 y I
0 8 3 units I
0 8 4 media Ljavax/print/attribute/standard/MediaSizeName;
MethodParameters:
Name Flags
x
y
units
media
public javax.print.attribute.standard.MediaSizeName getMediaSizeName();
descriptor: ()Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.print.attribute.standard.MediaSize.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/standard/MediaSize;
public static javax.print.attribute.standard.MediaSize getMediaSizeForName(javax.print.attribute.standard.MediaSizeName);
descriptor: (Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.print.attribute.standard.MediaSize.mediaMap:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSize
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 media Ljavax/print/attribute/standard/MediaSizeName;
MethodParameters:
Name Flags
media
public static javax.print.attribute.standard.MediaSizeName findMedia(float, float, int);
descriptor: (FFI)Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=13, args_size=3
start local 0 start local 1 start local 2 0: getstatic javax.print.attribute.standard.MediaSize$ISO.A4:Ljavax/print/attribute/standard/MediaSize;
astore 3
start local 3 1: fload 0
fconst_0
fcmpg
ifle 2
fload 1
fconst_0
fcmpg
ifle 2
iload 2
iconst_1
if_icmpge 3
2: StackMap locals: javax.print.attribute.standard.MediaSize
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "args must be +ve values"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
fload 0
fload 0
fmul
fload 1
fload 1
fmul
fadd
f2d
dstore 4
start local 4 4: fload 0
fstore 9
start local 9 5: fload 1
fstore 10
start local 10 6: iconst_0
istore 11
start local 11 7: goto 20
8: StackMap locals: float float int javax.print.attribute.standard.MediaSize double top top top float float int
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize.sizeVector:Ljava/util/Vector;
iload 11
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSize
astore 12
start local 12 9: aload 12
iload 2
invokevirtual javax.print.attribute.standard.MediaSize.getSize:(I)[F
astore 8
start local 8 10: fload 0
aload 8
iconst_0
faload
fcmpl
ifne 13
fload 1
aload 8
iconst_1
faload
fcmpl
ifne 13
11: aload 12
astore 3
12: goto 21
13: StackMap locals: float float int javax.print.attribute.standard.MediaSize double top top float[] float float int javax.print.attribute.standard.MediaSize
StackMap stack:
fload 0
aload 8
iconst_0
faload
fsub
fstore 9
14: fload 1
aload 8
iconst_1
faload
fsub
fstore 10
15: fload 9
fload 9
fmul
fload 10
fload 10
fmul
fadd
f2d
dstore 6
start local 6 16: dload 6
dload 4
dcmpg
ifge 19
17: dload 6
dstore 4
18: aload 12
astore 3
end local 12 19: StackMap locals: float float int javax.print.attribute.standard.MediaSize double double float[] float float int
StackMap stack:
iinc 11 1
end local 8 end local 6 StackMap locals: float float int javax.print.attribute.standard.MediaSize double top top top float float int
StackMap stack:
20: iload 11
getstatic javax.print.attribute.standard.MediaSize.sizeVector:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 8
end local 11 21: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.print.attribute.standard.MediaSize.getMediaSizeName:()Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 10 end local 9 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 x F
0 22 1 y F
0 22 2 units I
1 22 3 match Ljavax/print/attribute/standard/MediaSize;
4 22 4 ls D
16 20 6 tmp_ls D
10 20 8 dim [F
5 22 9 diffx F
6 22 10 diffy F
7 21 11 i I
9 19 12 mediaSize Ljavax/print/attribute/standard/MediaSize;
MethodParameters:
Name Flags
x
y
units
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 0
aload 1
invokespecial javax.print.attribute.Size2DSyntax.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 1
instanceof javax.print.attribute.standard.MediaSize
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 Ljavax/print/attribute/standard/MediaSize;
0 2 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public final java.lang.Class<? extends javax.print.attribute.Attribute> getCategory();
descriptor: ()Ljava/lang/Class;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljavax/print/attribute/standard/MediaSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/standard/MediaSize;
Signature: ()Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
public final java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "media-size"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/standard/MediaSize;
}
SourceFile: "MediaSize.java"
NestMembers:
javax.print.attribute.standard.MediaSize$Engineering javax.print.attribute.standard.MediaSize$ISO javax.print.attribute.standard.MediaSize$JIS javax.print.attribute.standard.MediaSize$NA javax.print.attribute.standard.MediaSize$Other
InnerClasses:
public final Engineering = javax.print.attribute.standard.MediaSize$Engineering of javax.print.attribute.standard.MediaSize
public final ISO = javax.print.attribute.standard.MediaSize$ISO of javax.print.attribute.standard.MediaSize
public final JIS = javax.print.attribute.standard.MediaSize$JIS of javax.print.attribute.standard.MediaSize
public final NA = javax.print.attribute.standard.MediaSize$NA of javax.print.attribute.standard.MediaSize
public final Other = javax.print.attribute.standard.MediaSize$Other of javax.print.attribute.standard.MediaSize