Code example for HashSet

Methods: contains

0
            setFlag(flag, set);
        } 
    } 
 
    public boolean isSet(Flag flag) {
        return mFlags.contains(flag);
    } 
 
 
    public void destroy() throws MessagingException {} 
 
    public abstract void setEncoding(String encoding) throws UnavailableStorageException, MessagingException;
 
    public abstract void setCharset(String charset) throws MessagingException;
 
    public MessageReference makeMessageReference() { 
        if (mReference == null) {
            mReference = new MessageReference();
            mReference.accountUuid = getFolder().getAccount().getUuid();
            mReference.folderName = getFolder().getName();
            mReference.uid = mUid;