Code example for HashSet

Methods: addAll

0
        return keySet().contains( s );
    } 
 
    @SuppressWarnings("unchecked") 
    public Set<String> keySet(){
        Set<String> keys = new HashSet();
        keys.addAll(VALID_FIELDS);
        keys.addAll(_extradata.keySet());
        return keys;
    } 
 
    public boolean isPartialObject(){ 
        return false; 
    } 
 
    public void markAsPartialObject(){ 
        throw new RuntimeException( "can't load partial GridFSFile file" );
    } 
     
    // ---------------------- 
    // ------- fields -------