Code example for Set

Methods: clear

0
     * 
     * @return this adapter 
     */ 
    public DefaultRepositoryListAdapter clearHeaders() { 
        headers.clear();
        noSeparators.clear();
        return this;
    } 
 
    /** 
     * Register section header 
     * 
     * @param repository 
     * @param text 
     * @return this adapter 
     */ 
    public DefaultRepositoryListAdapter registerHeader(Repository repository,
            String text) {
        headers.put(repository.getId(), text);
        return this;
Experience pair programming with AI  Get Codota for Java