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)
Buffer
public D getData(A address)
Buffer
public D setData(A address, D newData)
Buffer
public java.lang.String toString()
toString
in class java.lang.Object