| Modifier and Type | Method and Description |
|---|---|
CategoriesBuilder<T> |
CategoriesBuilder.add(T element)
Add the given element to the category represented by this builder.
|
CategoriesBuilder<T> |
CategoriesBuilder.addAll(Iterable<? extends T> elements)
Add the given elements to the category represented by this builder.
|
CategoriesBuilder<T> |
CategoriesBuilder.addIfUncategorized(String name,
Iterable<? extends T> candidates)
Add each of the given elements to a category with the given name
iff it is not already contained in the current
category or any of its children.
|
static <T> CategoriesBuilder<T> |
Categories.createBuilder(String name)
Creates a new instance of a
CategoriesBuilder,
using the given name for the root category. |
CategoriesBuilder<T> |
CategoriesBuilder.get(String name)
Returns a builder for the sub-category with the given name.
|
CategoriesBuilder<T> |
CategoriesBuilder.mergeRecursively(Category<? extends T> other)
|
Copyright © 2018. All rights reserved.