| Modifier and Type | Method and Description |
|---|---|
MutableCategory<T> |
MutableCategory.addChild(String name)
Add a new child
Category with the given name and
return it. |
static <T> MutableCategory<T> |
Categories.create(String name)
Create a new
MutableCategory with the given name |
MutableCategory<T> |
CategoriesBuilder.get()
Returns the
MutableCategory that is currently being built |
MutableCategory<T> |
MutableCategory.getChild(String name)
Returns the child category with the given name, or
null
if there is no child with the given name. |
MutableCategory<T> |
MutableCategory.removeChild(String name)
Remove the child
Category with the given name. |
| Modifier and Type | Method and Description |
|---|---|
List<? extends MutableCategory<T>> |
MutableCategory.getChildren()
Returns an unmodifiable (possibly empty) list containing the
children of this category.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
Categories.mergeRecursively(MutableCategory<T> target,
Category<? extends T> source)
|
static void |
Categories.removeEmptyCategories(MutableCategory<?> category)
Clean up the given
Category. |
Copyright © 2018. All rights reserved.