|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.core.pobjects.functions.postscript.OperatorNames
public class OperatorNames
OperatorsNames purpose is to define all operators in the PostScript type 4 function definitions. The function also provides an accelerated operand lookup method #getType() which returns an integer representation of the operand so that it can be quickly compared/processed at a later time.
| Field Summary | |
|---|---|
static int |
NO_OP
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_ABS
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_ADD
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_AND
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_ATAN
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_BITSHIFT
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_CEILING
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_COPY
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_COS
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_CVI
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_CVR
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_DIV
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_DUP
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_EQ
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_EXCH
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_EXP
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_EXP_END
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_EXP_START
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_FALSE
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_FLOOR
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_GE
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_GT
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_IDIV
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_IF
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_IFELSE
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_INDEX
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_LE
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_LN
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_LOG
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_LT
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_MOD
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_MUL
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_NE
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_NEG
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_NOT
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_OR
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_POP
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_ROLL
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_ROUND
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_SIN
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_SQRT
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_SUB
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_TRUE
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_TRUNCATE
Postscript subset of operations used in a type 4 function PostScript calculator. |
static int |
OP_XOR
Postscript subset of operations used in a type 4 function PostScript calculator. |
| Constructor Summary | |
|---|---|
OperatorNames()
|
|
| Method Summary | |
|---|---|
static int |
getType(char[] ch,
int offset,
int length)
Gets the operator type specified by the input substring. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_OP
public static final int OP_ABS
public static final int OP_ADD
public static final int OP_AND
public static final int OP_ATAN
public static final int OP_BITSHIFT
public static final int OP_CEILING
public static final int OP_COS
public static final int OP_COPY
public static final int OP_CVI
public static final int OP_CVR
public static final int OP_DIV
public static final int OP_DUP
public static final int OP_EQ
public static final int OP_EXCH
public static final int OP_EXP
public static final int OP_FALSE
public static final int OP_FLOOR
public static final int OP_GE
public static final int OP_GT
public static final int OP_IDIV
public static final int OP_IF
public static final int OP_IFELSE
public static final int OP_LN
public static final int OP_INDEX
public static final int OP_LE
public static final int OP_LOG
public static final int OP_LT
public static final int OP_MOD
public static final int OP_MUL
public static final int OP_NE
public static final int OP_NEG
public static final int OP_NOT
public static final int OP_OR
public static final int OP_POP
public static final int OP_ROLL
public static final int OP_ROUND
public static final int OP_SIN
public static final int OP_SQRT
public static final int OP_SUB
public static final int OP_TRUE
public static final int OP_TRUNCATE
public static final int OP_XOR
public static final int OP_EXP_START
public static final int OP_EXP_END
| Constructor Detail |
|---|
public OperatorNames()
| Method Detail |
|---|
public static int getType(char[] ch,
int offset,
int length)
ch - character array containing postscript calculator function.offset - starting offset of input substring.length - length of input substring.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||