/**
 * Copyright (C) 2022 by Martin Robillard. See https://codesample.info/about.html
 */
package e2.chapter9;

/**
 * Functional interface used in Section 9.2.
 */
public interface Filter {
	
	/**
	 * @param pCard The card to test
	 * @return True if this filter accepts pCard
	 * @pre pCard != null
	 */
	boolean accept(Card pCard);
}