| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Expectation | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | BasicBatchKey(String
A string used to compare batch keys. comparison, Expectation The expectation for the batch expectation)Constructs a BasicBatchKey |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | getBatchedStatementCount()
Implements org. |
| public Expectation | getExpectation()
Implements org. Batch associated with this key.
|
| public int |
| comparison | back to summary |
|---|---|
| private final String comparison | |
| expectation | back to summary |
|---|---|
| private final Expectation expectation | |
| statementCount | back to summary |
|---|---|
| private final int statementCount | |
| BasicBatchKey | back to summary |
|---|---|
| public BasicBatchKey(String comparison, Expectation expectation) Constructs a BasicBatchKey
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getBatchedStatementCount | back to summary |
|---|---|
| public int getBatchedStatementCount() Implements org. Doc from org. How many statements will be in this batch? Note that this is distinctly different than the size of the batch.
| |
| getExpectation | back to summary |
|---|---|
| public Expectation getExpectation() Implements org. Doc from org. Get the expectation pertaining to the outcome of the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |