Package | Description |
---|---|
ptolemy.data |
Packages for manipulating data that passes between actors.
|
ptolemy.data.expr |
The Ptolemy II Expression Language.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanToken
A token that contains a boolean variable.
|
class |
ComplexToken
A token that contains a Complex number represented by a 64-bit
double-precision floating point real and imaginary parts.
|
class |
DoubleToken
A token that contains a 64-bit signed mantissa, signed exponent double
precision floating-point number (IEEE 754).
|
class |
FixToken
A token that contains an instance of FixPoint.
|
class |
FloatToken
A token that contains a 32-bit signed mantissa, signed exponent single
precision floating-point number (IEEE 754).
|
class |
IntToken
A token that contains a signed 32-bit integer number.
|
class |
LongToken
A token that contains a signed 64-bit long integer.
|
class |
PetiteToken
A token that contains a number which is essentially a
simulation equivalent for fixed point numbers in embedded processors.
|
class |
ShortToken
A token that contains a signed 16-bit integer number.
|
class |
SmoothToken
A double-valued token that contains zero or more derivatives, representing
the value of a function of time at a particular time.
|
class |
UnsignedByteToken
A token that contains a byte number in the range 0 through 255.
|
class |
UnsizedFixToken
A token that contains an instance of FixPoint.
|
Modifier and Type | Method and Description |
---|---|
protected ScalarToken |
DoubleToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
FixToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
UnsignedByteToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
ShortToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
ComplexToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
FloatToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
IntToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
LongToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
PetiteToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected abstract ScalarToken |
ScalarToken._absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
protected ScalarToken |
BooleanToken._absolute()
Return this token.
|
protected ScalarToken |
DoubleToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
FixToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
UnsignedByteToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected ScalarToken |
ShortToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
ComplexToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
FloatToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
IntToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
SmoothToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
LongToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
PetiteToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected abstract ScalarToken |
ScalarToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected ScalarToken |
BooleanToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
DoubleToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
UnsignedByteToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
ShortToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseAnd(ScalarToken rightArgument)
Throw an exception because bitwise AND is not supported.
|
protected ScalarToken |
FloatToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
IntToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
LongToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
DoubleToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
FixToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
UnsignedByteToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
ShortToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
ComplexToken._bitwiseNot()
Throw an exception because bitwise NOT is not supported.
|
protected ScalarToken |
FloatToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
IntToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
LongToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
PetiteToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
BooleanToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
DoubleToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
UnsignedByteToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
ShortToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseOr(ScalarToken rightArgument)
Throw an exception because bitwise OR is not supported.
|
protected ScalarToken |
FloatToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
IntToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
LongToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
DoubleToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
UnsignedByteToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
ShortToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseXor(ScalarToken rightArgument)
Throw an exception because bitwise XOR is not supported.
|
protected ScalarToken |
FloatToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
IntToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
LongToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
DoubleToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
FixToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
UnsignedByteToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
ShortToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
ComplexToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
FloatToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
IntToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
SmoothToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
LongToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
PetiteToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
BooleanToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of this Token.
|
protected ScalarToken |
FixToken._divide(ScalarToken rightArgument,
Quantization quant)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
DoubleToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
FixToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
UnsignedByteToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
ShortToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
ComplexToken._modulo(ScalarToken rightArgument)
Throw an exception because the modulo operation does not
make sense for complex values.
|
protected ScalarToken |
FloatToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
IntToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
LongToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
PetiteToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
BooleanToken._modulo(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
DoubleToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
FixToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
UnsignedByteToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
ShortToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
ComplexToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
FloatToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
IntToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
SmoothToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
LongToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
PetiteToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
BooleanToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
DoubleToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
FixToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
UnsignedByteToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected ScalarToken |
ShortToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
ComplexToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
FloatToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
IntToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
SmoothToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
LongToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
PetiteToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected abstract ScalarToken |
ScalarToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected ScalarToken |
BooleanToken._subtract(ScalarToken rightArgument)
Subtraction is not supported in Boolean algebras.
|
ScalarToken |
ScalarToken.absolute()
Return a ScalarToken containing the absolute value of the
value of this token.
|
ScalarToken |
ScalarToken.inUnitsOf(ScalarToken units)
Return a scalar token that contains the value of this token in the
units of the argument token.
|
ScalarToken |
UnsignedByteToken.leftShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the most significant bit, filling the
least significant bits with zeros.
|
ScalarToken |
ShortToken.leftShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the most significant bit, filling the
least significant bits with zeros.
|
ScalarToken |
IntToken.leftShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the most significant bit, filling the
least significant bits with zeros.
|
ScalarToken |
LongToken.leftShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the most significant bit, filling the
least significant bits with zeros.
|
ScalarToken |
ScalarToken.leftShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the most significant bit, filling the
least significant bits with zeros.
|
ScalarToken |
UnsignedByteToken.logicalRightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with zeros.
|
ScalarToken |
ShortToken.logicalRightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with zeros.
|
ScalarToken |
IntToken.logicalRightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with zeros.
|
ScalarToken |
LongToken.logicalRightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with zeros.
|
ScalarToken |
ScalarToken.logicalRightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with zeros.
|
ScalarToken |
UnsignedByteToken.rightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with the sign of the value.
|
ScalarToken |
ShortToken.rightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with the sign of the value.
|
ScalarToken |
IntToken.rightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with the sign of the value.
|
ScalarToken |
LongToken.rightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with the sign of the value.
|
ScalarToken |
ScalarToken.rightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with the sign of the value.
|
Modifier and Type | Method and Description |
---|---|
protected ScalarToken |
DoubleToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
FixToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
UnsignedByteToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected ScalarToken |
ShortToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
ComplexToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
FloatToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
IntToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
SmoothToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
LongToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected ScalarToken |
PetiteToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected abstract ScalarToken |
ScalarToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected ScalarToken |
BooleanToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected int[] |
ScalarToken._addCategoryExponents(ScalarToken token)
Add the corresponding unit category exponents.
|
protected boolean |
ScalarToken._areUnitsEqual(ScalarToken scalarToken)
Return true if the units of this token are the same as that of the
argument token.
|
protected ScalarToken |
DoubleToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
UnsignedByteToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
ShortToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseAnd(ScalarToken rightArgument)
Throw an exception because bitwise AND is not supported.
|
protected ScalarToken |
FloatToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
IntToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
LongToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
DoubleToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
UnsignedByteToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
ShortToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseOr(ScalarToken rightArgument)
Throw an exception because bitwise OR is not supported.
|
protected ScalarToken |
FloatToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
IntToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
LongToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
DoubleToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
UnsignedByteToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
ShortToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseXor(ScalarToken rightArgument)
Throw an exception because bitwise XOR is not supported.
|
protected ScalarToken |
FloatToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
IntToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
LongToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
DoubleToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
FixToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
UnsignedByteToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
ShortToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
ComplexToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
FloatToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
IntToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
SmoothToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
LongToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
PetiteToken._divide(ScalarToken divisor)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
BooleanToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of this Token.
|
protected ScalarToken |
FixToken._divide(ScalarToken rightArgument,
Quantization quant)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected BooleanToken |
DoubleToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test that the value of this token is close to the first
argument, where "close" means that the distance between their
values is less than or equal to the second argument.
|
protected BooleanToken |
FixToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between their values is less than
or equal to the second argument.
|
protected BooleanToken |
UnsignedByteToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected BooleanToken |
ShortToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between their
values is less than or equal to the second argument.
|
protected BooleanToken |
ComplexToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test that the value of this rightArgument is close to the
first argument, where "close" means that the distance between
their values is less than or equal to the second argument.
|
protected BooleanToken |
FloatToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test that the value of this token is close to the first
argument, where "close" means that the distance between their
values is less than or equal to the second argument.
|
protected BooleanToken |
IntToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between their
values is less than or equal to the second argument.
|
protected BooleanToken |
SmoothToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test that the value of this token is close to the first
argument, where "close" means that the distance between their
values is less than or equal to the second argument.
|
protected BooleanToken |
LongToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between their
values is less than or equal to the second argument.
|
protected BooleanToken |
PetiteToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between their values is less than
or equal to the second argument.
|
protected abstract BooleanToken |
ScalarToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected BooleanToken |
BooleanToken._isCloseTo(ScalarToken token,
double epsilon)
Return a true-valued token if the first argument is close to this
token, where in this class, "close" means "identical to."
|
protected BooleanToken |
ScalarToken._isEqualTo(ScalarToken token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
BooleanToken._isEqualTo(ScalarToken token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
DoubleToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
FixToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
UnsignedByteToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
ShortToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
ComplexToken._isLessThan(ScalarToken rightArgument)
Throw an exception because complex values cannot be compared.
|
protected BooleanToken |
FloatToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
IntToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
SmoothToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
LongToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
PetiteToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected abstract BooleanToken |
ScalarToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
BooleanToken._isLessThan(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
DoubleToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
FixToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
UnsignedByteToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
ShortToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
ComplexToken._modulo(ScalarToken rightArgument)
Throw an exception because the modulo operation does not
make sense for complex values.
|
protected ScalarToken |
FloatToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
IntToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
LongToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
PetiteToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
BooleanToken._modulo(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
DoubleToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
FixToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
UnsignedByteToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
ShortToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
ComplexToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
FloatToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
IntToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
SmoothToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
LongToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
PetiteToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
BooleanToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
DoubleToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
FixToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
UnsignedByteToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected ScalarToken |
ShortToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
ComplexToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
FloatToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
IntToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
SmoothToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
LongToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected ScalarToken |
PetiteToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected abstract ScalarToken |
ScalarToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected ScalarToken |
BooleanToken._subtract(ScalarToken rightArgument)
Subtraction is not supported in Boolean algebras.
|
protected int[] |
ScalarToken._subtractCategoryExponents(ScalarToken token)
Subtract the corresponding unit category exponents of the
argument token from that of this token.
|
static Token |
LongMatrixToken.convert(ScalarToken token,
int size)
Convert the specified scalar token into an instance of
LongMatrixToken.
|
static Token |
IntMatrixToken.convert(ScalarToken token,
int size)
Convert the specified scalar token into an instance of
IntMatrixToken.
|
static int |
MatrixToken.determineSequenceLength(ScalarToken start,
ScalarToken increment,
ScalarToken end)
Count the number of tokens differing by the given increment
that fit in a range between the given start token and the
given end token.
|
ScalarToken |
ScalarToken.inUnitsOf(ScalarToken units)
Return a scalar token that contains the value of this token in the
units of the argument token.
|
BooleanToken |
ScalarToken.isGreaterThan(ScalarToken rightArgument)
Check whether the value of this token is strictly greater than
that of the argument token.
|
BooleanToken |
ScalarToken.isLessThan(ScalarToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcreteScalarToken
A token that represents a scalar of any type.
|
Modifier and Type | Method and Description |
---|---|
protected ScalarToken |
ConcreteScalarToken._absolute()
Return this token.
|
protected ScalarToken |
ConcreteScalarToken._add(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseAnd(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseNot()
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseOr(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseXor(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._divide(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._modulo(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._multiply(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._subtract(ScalarToken rightArgument)
Throw an exception.
|
static ScalarToken |
UtilityFunctions.max(ArrayToken array)
Return the maximum of the contents of the array.
|
static ScalarToken |
UtilityFunctions.min(ArrayToken array)
Return the minimum of the contents of the array.
|
Modifier and Type | Method and Description |
---|---|
protected ScalarToken |
ConcreteScalarToken._add(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseAnd(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseOr(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseXor(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._divide(ScalarToken rightArgument)
Throw an exception.
|
protected BooleanToken |
ConcreteScalarToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Throw an exception.
|
protected BooleanToken |
ConcreteScalarToken._isLessThan(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._modulo(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._multiply(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._subtract(ScalarToken rightArgument)
Throw an exception.
|