Code example for HashMap

Methods: clear

    /** Clear the SMS application list for disposal. */ 
    void dispose() { 
     * Check to see if an application is allowed to send new SMS messages, and confirm with 
     * user if the send limit was reached or if a non-system app is potentially sending to a 
     * premium SMS short code or number. 
     * @param appName the package name of the app requesting to send an SMS 
     * @param smsWaiting the number of new messages desired to send 
     * @return true if application is allowed to send the requested number 
     *  of new sms messages 
    public boolean check(String appName, int smsWaiting) {
        synchronized (mSmsStamp) {