package test3; import java.util.HashMap; import java.util.Map; /** * A Social Insurance Number card has a number. */ public class SINCard { /** * Returns the number of this card. * * @return the number of this card. */ public int getNumber() { } /** * Returns a string representation of this card. * This string consists of the number of the card. * * @return a string representation of this card. */ public String toString() { } /** * Tests whether the number of this card is even. * * @return true if the number of this card is even, * false otherwise. */ public boolean isEven() { } /** * Returns a SIN card with the given number. * * @param number the new number of this card. * @pre. number >= 1000000000 && number <= 999999999 * @return a SIN card with the given number. */ public static SINCard getInstance(int number) { } /** * Tests whether a card with the given number has been created. * * @param number a number. * @return true if a card with the given number has been created, * false otherwise. */ public static boolean exists(int number) { } }