Code example for Hashtable

Methods: keys

0
    /** 
     * Return an enumeration of the usernames defined on this server. 
     */ 
    public Enumeration getUsers() {
 
        return (homes.keys());
 
    } 
 
 
    // ------------------------------------------------------ Private Methods 
 
 
    /** 
     * Initialize our set of users and home directories. 
     */ 
    private void init() { 
 
        String homeBase = userConfig.getHomeBase();
        File homeBaseDir = new File(homeBase);
        if (!homeBaseDir.exists() || !homeBaseDir.isDirectory())