igeo
Class IIntegerR
java.lang.Object
igeo.IParameterObject
igeo.IIntegerR
- All Implemented Interfaces:
- IIntegerI, IIntegerOp, IParameter, IReferenceParameter, ISubobject
public class IIntegerR
- extends IParameterObject
- implements IIntegerI, IReferenceParameter
Reference class of integer to be used as IParameterObject.
- Version:
- 0.7.0.0;
- Author:
- Satoru Sugihara
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
op
protected IIntegerOp op
IIntegerR
public IIntegerR(IIntegerOp v)
IIntegerR
public IIntegerR(int v)
IIntegerR
public IIntegerR(IServerI s,
IIntegerOp v)
IIntegerR
public IIntegerR(IServerI s,
int v)
x
public int x()
- Specified by:
x
in interface IIntegerI
- Specified by:
x
in interface IIntegerOp
- Returns:
- Primitive value.
get
public IInteger get()
- Specified by:
get
in interface IIntegerI
- Specified by:
get
in interface IIntegerOp
- Specified by:
get
in interface IParameter
- Returns:
- Fixed value but in wrapper class.
getX
public IIntegerR getX()
- Specified by:
getX
in interface IIntegerI
- Returns:
- Generic parameter of the value (either of entity class or reference class).
operator
public IIntegerOp operator()
- Specified by:
operator
in interface IReferenceParameter
dup
public IIntegerR dup()
- Specified by:
dup
in interface IIntegerI
- Returns:
- Duplicated instance.
set
public IIntegerR set(IIntegerI u)
- Description copied from interface:
IIntegerI
- convert reference tree to one constant value
- Specified by:
set
in interface IIntegerI
set
public IIntegerR set(int u)
- Specified by:
set
in interface IIntegerI
set
public IIntegerR set(IDoubleI u)
- Specified by:
set
in interface IIntegerI
set
public IIntegerR set(double u)
- Specified by:
set
in interface IIntegerI
add
public IIntegerR add(IIntegerI u)
- Specified by:
add
in interface IIntegerI
add
public IIntegerR add(int u)
- Specified by:
add
in interface IIntegerI
sub
public IIntegerR sub(IIntegerI u)
- Specified by:
sub
in interface IIntegerI
sub
public IIntegerR sub(int u)
- Specified by:
sub
in interface IIntegerI
mul
public IIntegerR mul(IIntegerI u)
- Specified by:
mul
in interface IIntegerI
mul
public IIntegerR mul(int u)
- Specified by:
mul
in interface IIntegerI
div
public IIntegerR div(IIntegerI u)
- Specified by:
div
in interface IIntegerI
div
public IIntegerR div(int u)
- Specified by:
div
in interface IIntegerI
neg
public IIntegerR neg()
- Specified by:
neg
in interface IIntegerI
mod
public IIntegerR mod(IIntegerI u)
- Specified by:
mod
in interface IIntegerI
mod
public IIntegerR mod(int u)
- Specified by:
mod
in interface IIntegerI
eq
public boolean eq(int v)
- Specified by:
eq
in interface IIntegerI
eq
public boolean eq(IIntegerI v)
- Specified by:
eq
in interface IIntegerI
eq
public boolean eq(ISwitchE e,
IIntegerI v)
- Specified by:
eq
in interface IIntegerI
eq
public IBoolR eq(ISwitchR r,
IIntegerI v)
- Specified by:
eq
in interface IIntegerI