code: public synchronized DirectoryEntry mkdir( DirectoryEntry parent, String name )
      {
          parent.getClass();
          parent = getNormalizedParent( parent );
          List<Entry> entries = getEntriesList( parent );
          for ( Entry entry : entries )
          {
              if ( name.equals( entry.getName() ) )
              {
                  if ( entry instanceof DirectoryEntry )
                  {
                      return (DirectoryEntry) entry;
                  }
                  return null;
              }
          }
          DirectoryEntry entry = new DefaultDirectoryEntry( this, parent, name );
          entries.add( entry );
          return entry;
      }
docs: {@inheritDoc}