Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
F
I
L
N
O
R
S
A
Assertion
- interface edu.ucsb.ccs.jaqual.
Assertion
.
Abstract description of an assertion that can be evaluated on an element of a collection.
C
CONTENT
- Static variable in class edu.ucsb.ccs.jaqual.standard.
Equal
Constant for comparison by value.
E
edu.ucsb.ccs.jaqual
- package edu.ucsb.ccs.jaqual
This is the main package of the JaQuaL library.
edu.ucsb.ccs.jaqual.standard
- package edu.ucsb.ccs.jaqual.standard
This package defines several standard assertions to be used with the JaQuaL library.
Elements
- class edu.ucsb.ccs.jaqual.
Elements
.
Quantifier to find a subset of a collection that matches certain criteria.
Elements(Collection)
- Constructor for class edu.ucsb.ccs.jaqual.
Elements
Create a new elements quantifier.
Elements(Object[])
- Constructor for class edu.ucsb.ccs.jaqual.
Elements
Create a new Elements quantifier for an array.
ensure(Assertion)
- Method in class edu.ucsb.ccs.jaqual.
ForAll
Evaluate the quantifier on all objects in the collection.
Equal
- class edu.ucsb.ccs.jaqual.standard.
Equal
.
An assertion to test for equality.
Equal(byte)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare bytes.
Equal(char)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare characters.
Equal(double)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare double precision numbers, using Double.MIN_VALUE as the tolerance.
Equal(double, double)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare double precision numbers.
Equal(float)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare floating point numbers, using Float.MIN_VALUE as the tolerance.
Equal(float, double)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare floating point numbers.
Equal(int)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare integers.
Equal(long)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare longs.
Equal(Object)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare Objects by content.
Equal(Object, int)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare Objects.
Equal(short)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Equal
Create an assertion to compare shorts.
eval(Object)
- Method in interface edu.ucsb.ccs.jaqual.
Assertion
Evaluate the assertion on an object.
eval(Object)
- Method in class edu.ucsb.ccs.jaqual.standard.
InstanceOf
Test an object to see if it is an instance of the target class.
eval(Object)
- Method in class edu.ucsb.ccs.jaqual.standard.
Equal
Test an object to see if it is equal to the target value.
eval(Object)
- Method in class edu.ucsb.ccs.jaqual.standard.
InRange
Determine if a value is in the allowed range.
eval(Object)
- Method in class edu.ucsb.ccs.jaqual.standard.
Not
Test an object by applying the inner assertion, and negating the result.
EXCLUSIVE
- Static variable in class edu.ucsb.ccs.jaqual.standard.
InRange
Constant to indicate the bound is exclusive.
execute(Object)
- Method in interface edu.ucsb.ccs.jaqual.
Operator
Execute the operator on an object.
execute(Operator)
- Method in class edu.ucsb.ccs.jaqual.
ForAll
Execute an operator on all objects in the collection.
Exists
- class edu.ucsb.ccs.jaqual.
Exists
.
Exists quantifier.
Exists(Collection)
- Constructor for class edu.ucsb.ccs.jaqual.
Exists
Create a new Exists quantifier.
Exists(Object[])
- Constructor for class edu.ucsb.ccs.jaqual.
Exists
Create a new Exists quantifier for an array.
F
ForAll
- class edu.ucsb.ccs.jaqual.
ForAll
.
A forall quantifier.
ForAll(Collection)
- Constructor for class edu.ucsb.ccs.jaqual.
ForAll
Create a new ForAll quantifier.
ForAll(Object[])
- Constructor for class edu.ucsb.ccs.jaqual.
ForAll
Create a new ForAll quantifier for an array.
I
implies(boolean, boolean)
- Static method in class edu.ucsb.ccs.jaqual.
Logical
Implication operator.
in(Collection)
- Static method in class edu.ucsb.ccs.jaqual.
ForAll
Create a new ForAll quantifier.
in(Collection)
- Static method in class edu.ucsb.ccs.jaqual.
Exists
Create a new Exists quantifier.
in(Collection)
- Static method in class edu.ucsb.ccs.jaqual.
Elements
Create a new elements quantifier.
INCLUSIVE
- Static variable in class edu.ucsb.ccs.jaqual.standard.
InRange
Constant to indicate the bound is inclusive.
InRange
- class edu.ucsb.ccs.jaqual.standard.
InRange
.
An assertion to determine if a number falls in a given range.
InRange(double, double, double)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
InRange
Create an assertion to test that a value falls in the interval [minVal, maxVal].
InRange(double, double, double, int)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
InRange
Create an assertion to test that a value falls in the interval [minVal, maxVal].
InRange(double, double, double, int, int)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
InRange
Create an assertion to test that a value falls in the interval [minVal, maxVal].
InRange(long, long)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
InRange
Create an assertion to test that a value falls in the interval [minVal, maxVal].
InRange(long, long, int)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
InRange
Create an assertion to test that a value falls between `minVal' and `maxVal'.
InRange(long, long, int, int)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
InRange
Create an assertion to test that a value falls between `minVal' and `maxVal'.
InstanceOf
- class edu.ucsb.ccs.jaqual.standard.
InstanceOf
.
Assertion to check if an object is an instance of a certain class type.
InstanceOf(Class)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
InstanceOf
Create a new assertion.
L
Logical
- class edu.ucsb.ccs.jaqual.
Logical
.
This class defines some useful logic operators.
Logical()
- Constructor for class edu.ucsb.ccs.jaqual.
Logical
N
Not
- class edu.ucsb.ccs.jaqual.standard.
Not
.
Assertion that negates another assertion.
Not(Assertion)
- Constructor for class edu.ucsb.ccs.jaqual.standard.
Not
Create a new assertion.
O
Operator
- interface edu.ucsb.ccs.jaqual.
Operator
.
Interface for an object that transforms other objects.
R
REFERENCE
- Static variable in class edu.ucsb.ccs.jaqual.standard.
Equal
Constant for comparison by reference.
S
suchThat(Assertion)
- Method in class edu.ucsb.ccs.jaqual.
Exists
Evaluate the quantifier on all objects in the collection.
suchThat(Assertion)
- Method in class edu.ucsb.ccs.jaqual.
Elements
Find the subset of the collection that meets a given assertion.
A
C
E
F
I
L
N
O
R
S
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes