Code example for HashSet

Methods: size, toArray

0
        { 
            // should not happen as the type has already been cached. 
            throw new RuntimeException(e);
        } 
 
        return children.toArray(new String[children.size()]);
    } 
 
    /** 
     * Returns the size of the file content (in bytes).  Is only called if 
     * {@link #doGetType} returns {@link FileType#FILE}. 
     */ 
    @Override 
    protected long doGetContentSize() 
    { 
        return entry.getSize();
    } 
 
    /** 
     * Returns the last modified time of this file. 
     */