public abstract class UnaryOperator
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UnaryOperator.Add1
The default implementation of ++ operator
|
static class |
UnaryOperator.Negate
The default implementation of unary - operator
|
static class |
UnaryOperator.Not
The default implementation of ~ operator
|
static class |
UnaryOperator.Subtract1
The default implementation of -- operator
|
Constructor and Description |
---|
UnaryOperator() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
op_bdec(java.math.BigDecimal d)
operation on a BigDecimal
|
protected java.lang.Object |
op_bint(java.math.BigInteger b)
operation on a BigInteger
|
protected java.lang.Object |
op_boolean(boolean b)
operation on a boolean value
|
protected java.lang.Object |
op_double(double d)
operation on a double value
|
protected java.lang.Object |
op_float(float f)
operation on a float value
|
protected java.lang.Object |
op_int(int i)
operation on an int value
|
protected java.lang.Object |
op_long(long l)
operation on a long value
|
protected java.lang.Object |
op_numeric(Numeric b)
operation on a Numeric
|
java.lang.Object |
operateOn(java.lang.Object n) |
protected java.lang.Object op_int(int i)
protected java.lang.Object op_long(long l)
protected java.lang.Object op_float(float f)
protected java.lang.Object op_double(double d)
protected java.lang.Object op_bdec(java.math.BigDecimal d)
protected java.lang.Object op_bint(java.math.BigInteger b)
protected java.lang.Object op_boolean(boolean b)
protected java.lang.Object op_numeric(Numeric b)
public java.lang.Object operateOn(java.lang.Object n)