io.nosqlbench.virtdata.userlibs.apps.docsapp.fdocs.FDoc Maven / Gradle / Ivy
package io.nosqlbench.virtdata.userlibs.apps.docsapp.fdocs;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
public class FDoc implements Iterable {
private final Map docs = new HashMap<>();
public FDoc() {
}
public FDocCat addCategory(String categoryName) {
return docs.computeIfAbsent(categoryName, FDocCat::new);
}
@Override
public Iterator iterator() {
return docs.values().iterator();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy