/**
* Copyright (C) 2022 by Martin Robillard. See https://codesample.info/about.html
*/
package e2.chapter9;
import e2.chapter9.Suit.Color;
/**
* Used to demonstrate how to use references to static method.
* See corresponding client code in .
*/
public class CardUtils {
public static boolean hasBlackSuit(Card pCard) {
return pCard.getSuit().getColor() != Color.BLACK;
}
}