core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileSystem.java
/**
     * @return Returns the size of the FileSystem
     */
@return Returns the size of the FileSystem
@return Returns the size of the FileSystem
int size()
    {
        int size = 0;
        synchronized (cache)
        {
            Iterator<RamFileData> iter = cache.values().iterator();
            while (iter.hasNext())
            {
                RamFileData data = iter.next();
                size += data.size();
            }
        }
        return size;
    }
int size ( ) { int size = 0 ; synchronized ( cache ) { Iterator < RamFileData > iter = cache . values ( ) . iterator ( ) ; while ( iter . hasNext ( ) ) { RamFileData data = iter . next ( ) ; size += data . size ( ) ; } } return size ; }
@return Returns the size of the FileSystem
@return Returns the size of the FileSystem