| Constructor and Description |
|---|
Line(Matcher<D,A> matcher)
Constructs a default (invalid) line.
|
| Modifier and Type | Method and Description |
|---|---|
D |
getData(A address)
Returns the data associated with the given address.
|
boolean |
isHit(A address)
Checks whether the given address causes a hit.
|
D |
setData(A address,
D newData)
Updates the data associated with the given address.
|
java.lang.String |
toString() |
public boolean isHit(A address)
Bufferpublic D getData(A address)
Bufferpublic D setData(A address, D newData)
Bufferpublic java.lang.String toString()
toString in class java.lang.Object