Code example for LinkedHashSet

Methods: contains

0
      return false; 
    } 
 
    // check the blacklist for urls to NOT store passwords for 
    // if it is in the list, return false. otherwise return true. 
    return !hosts.contains(url);
  } 
 
  public void setPasswordStoringAllowed(final String url, final boolean allowed)
  { 
    if (!allowed)
    { 
      if (hosts.add(url))
      { 
        try 
        { 
          store(hosts);
        } 
        catch (BackingStoreException e)
        {