- java.lang.Object
-
- ru.ispras.microtesk.mmu.model.sim.Set<D,A>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
ru.ispras.fortress.util.Pair<ru.ispras.fortress.data.types.bitvector.BitVector,ru.ispras.fortress.data.types.bitvector.BitVector>
seeData(ru.ispras.fortress.data.types.bitvector.BitVector index, ru.ispras.fortress.data.types.bitvector.BitVector way)
Returns data and associated address without changing the state.D
setData(A address, D data)
Updates the data associated with the given address.java.lang.String
toString()
-
-
-
Method Detail
-
isHit
public final boolean isHit(A address)
Description copied from interface:Buffer
Checks whether the given address causes a hit.
-
getData
public final D getData(A address)
Description copied from interface:Buffer
Returns the data associated with the given address.
-
setData
public final D setData(A address, D data)
Description copied from interface:Buffer
Updates the data associated with the given address.
-
seeData
public ru.ispras.fortress.util.Pair<ru.ispras.fortress.data.types.bitvector.BitVector,ru.ispras.fortress.data.types.bitvector.BitVector> seeData(ru.ispras.fortress.data.types.bitvector.BitVector index, ru.ispras.fortress.data.types.bitvector.BitVector way)
Description copied from interface:Buffer
Returns data and associated address without changing the state.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-