Package | Description |
---|---|
org.kepler.gis.data | |
ptolemy.actor.lib.logic |
The ptolemy.actor.lib.logic package.
|
ptolemy.data |
Packages for manipulating data that passes between actors.
|
ptolemy.data.expr |
The Ptolemy II Expression Language.
|
ptolemy.data.type.test |
The ptolemy.data.type.test package.
|
Modifier and Type | Method and Description |
---|---|
BooleanToken |
BoundingBoxToken.isCloseTo(Token other,
double epsilon)
Test that 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.
|
BooleanToken |
RasterToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
BooleanToken |
VectorToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
BooleanToken |
BoundingBoxToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanToken |
LogicGate._updateFunction(BooleanToken in,
BooleanToken old)
Calculate the function on the given arguments.
|
protected BooleanToken |
LogicFunction._updateFunction(BooleanToken in,
BooleanToken old)
Deprecated.
Calculate the function on the given arguments.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanToken |
LogicGate._updateFunction(BooleanToken in,
BooleanToken old)
Calculate the function on the given arguments.
|
protected BooleanToken |
LogicFunction._updateFunction(BooleanToken in,
BooleanToken old)
Deprecated.
Calculate the function on the given arguments.
|
Modifier and Type | Field and Description |
---|---|
static BooleanToken |
BooleanToken.FALSE
False-valued token.
|
static BooleanToken |
BooleanToken.NIL
A token that represents a missing value.
|
static BooleanToken |
BooleanToken.TRUE
True-valued token.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanToken |
MatrixToken._isCloseTo(MatrixToken token,
double distance)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between their
elements is less than or equal to the second argument.
|
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 |
ObjectToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
OrderedRecordToken._isCloseTo(Token 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 abstract BooleanToken |
AbstractConvertibleToken._isCloseTo(Token token,
double epsilon)
Test that 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 |
StringToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
XMLToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
RecordToken._isCloseTo(Token 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 |
UnionToken._isCloseTo(Token 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 |
ArrayToken._isCloseTo(Token token,
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 abstract BooleanToken |
AbstractNotConvertibleToken._isCloseTo(Token rightArgument,
double epsilon)
Test that 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 |
DateToken._isCloseTo(Token token,
double epsilon)
The isCloseTo() method brings both tokens to the same precision.
|
protected BooleanToken |
MatrixToken._isEqualTo(MatrixToken rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
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 |
ObjectToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
OrderedRecordToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected abstract BooleanToken |
AbstractConvertibleToken._isEqualTo(Token token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
StringToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
XMLToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
RecordToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected BooleanToken |
UnionToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected BooleanToken |
ArrayToken._isEqualTo(Token token)
Return a true-valued token if the argument is equal to this one.
|
protected BooleanToken |
AbstractNotConvertibleToken._isEqualTo(Token token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
DateToken._isEqualTo(Token rightArgument)
Return true of the the value of this token is equal
to the value of the argument according to java.util.Date.
|
protected BooleanToken |
DateToken._isLessThan(DateToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
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.
|
BooleanToken |
BooleanToken.and(BooleanToken rightArgument)
Return a new token whose value is the logical AND of the value
of this token and the the value of the argument token.
|
BooleanToken |
ArrayToken.contains(Token element)
Return a Boolean token that identifies whether the given token is an
element of this array.
|
static BooleanToken |
BooleanToken.convert(Token token)
Convert the specified token into an instance of BooleanToken.
|
static BooleanToken |
BooleanToken.getInstance(boolean value)
Return the instance of this class corresponding to the given
boolean value.
|
BooleanToken |
Token.isCloseTo(Token token)
Test that the value of this Token is close to the argument
Token.
|
BooleanToken |
ObjectToken.isCloseTo(Token token,
double epsilon)
Test that 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.
|
BooleanToken |
Token.isCloseTo(Token token,
double epsilon)
Test that 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.
|
BooleanToken |
ActorToken.isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
BooleanToken |
AbstractConvertibleToken.isCloseTo(Token token,
double epsilon)
Test that 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.
|
BooleanToken |
MatrixToken.isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this Token is close to the argument
Token.
|
BooleanToken |
FunctionToken.isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
BooleanToken |
XMLToken.isCloseTo(Token token,
double epsilon)
Test that 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.
|
BooleanToken |
ScalarToken.isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this Token is close to the argument
Token.
|
BooleanToken |
ArrayToken.isCloseTo(Token token,
double epsilon)
Test that 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.
|
BooleanToken |
AbstractNotConvertibleToken.isCloseTo(Token token,
double epsilon)
Test that 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.
|
BooleanToken |
ObjectToken.isEqualTo(Token rightArgument)
Compare this ObjectToken to the given argument, and return true if the
values contained in the two are the same Java object.
|
BooleanToken |
Token.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
TupleToken.isEqualTo(Token token)
Return a true-valued token if the argument is equal to this one.
|
BooleanToken |
ActorToken.isEqualTo(Token token)
Model for equality of the values of this Token and the argument Token.
|
BooleanToken |
AbstractConvertibleToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
MatrixToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
FunctionToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
ScalarToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
AbstractNotConvertibleToken.isEqualTo(Token rightArgument)
Test for equality of the values of this token and the argument
token.
|
BooleanToken |
DateToken.isGreaterThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly greater than
that 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 |
DateToken.isLessThan(DateToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken |
PartiallyOrderedToken.isLessThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken |
ScalarToken.isLessThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken |
DateToken.isLessThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly less 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.
|
BooleanToken |
BooleanToken.not()
Return a new BooleanToken with the logical not of the value
stored in this token.
|
BooleanToken |
BooleanToken.or(BooleanToken rightArgument)
Return a new token whose value is the logical OR of the value
of this token and the the value of the argument token.
|
BooleanToken |
BooleanToken.xor(BooleanToken rightArgument)
Return a new token whose value is the logical XOR of the value
of this token and the the value of the argument token.
|
Modifier and Type | Method and Description |
---|---|
BooleanToken |
BooleanToken.and(BooleanToken rightArgument)
Return a new token whose value is the logical AND of the value
of this token and the the value of the argument token.
|
BooleanToken |
BooleanToken.or(BooleanToken rightArgument)
Return a new token whose value is the logical OR of the value
of this token and the the value of the argument token.
|
BooleanToken |
BooleanToken.xor(BooleanToken rightArgument)
Return a new token whose value is the logical XOR of the value
of this token and the the value of the argument token.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanToken |
ConcreteScalarToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Throw an exception.
|
protected BooleanToken |
ConcreteScalarToken._isLessThan(ScalarToken rightArgument)
Throw an exception.
|
static BooleanToken |
UtilityFunctions.within(Token token1,
Token token2,
double distance)
Return true if the first argument is close in value to the second,
where "close" means that it is within the distance given by the
third argument.
|
static BooleanToken |
UtilityFunctions.yesNoQuestion(StringToken prompt)
Query the user for a yes-no answer and return a boolean.
|
Modifier and Type | Method and Description |
---|---|
BooleanToken |
TestToken.isEqualTo(Token token)
Test for equality of the values of this Token and the argument Token.
|