Interface Matcher<D,​A extends Address>

  • Type Parameters:
    D - the data type.
    A - the address type.

    public interface Matcher<D,​A extends Address>
    This is a generic interface of a cache line matcher (hit checker).
    • Method Detail

      • areMatching

        boolean areMatching​(D data,
                            A address)
        Checks whether the given data and the given address are matching each other.
        Parameters:
        data - the data.
        address - the address.
        Returns:
        true if the data and address are matching each other; false otherwise.