|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpnuts.lang.UnaryOperator
public abstract class UnaryOperator
Abstract base class of unary operations.
| Nested Class Summary | |
|---|---|
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 Summary | |
|---|---|
UnaryOperator()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnaryOperator()
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||