| Constructor and Description |
|---|
Set(int associativity,
PolicyId policyId,
Matcher<D,A> matcher)
Constructs a cache set of the given associativity.
|
| 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.
|
protected Buffer<D,A> |
newLine(Matcher<D,A> matcher) |
D |
setData(A address,
D data)
Updates the data associated with the given address.
|
java.lang.String |
toString() |
public final boolean isHit(A address)
Bufferpublic final D getData(A address)
Bufferpublic final D setData(A address, D data)
Bufferpublic java.lang.String toString()
toString in class java.lang.Object