| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableCategory<T>
Interface for a mutable
Category |
| Modifier and Type | Method and Description |
|---|---|
Category<T> |
CategoryEvent.getCategory()
Returns the
Category from which this event originated |
Category<T> |
CategoryEvent.getChild()
Returns the child that was added or removed
|
Category<T> |
Category.getChild(String name)
Returns the child category with the given name, or
null
if there is no child with the given name. |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Category<T>> |
Category.getChildren()
Returns an unmodifiable (possibly empty) list containing the
children of this category.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Set<T> |
Categories.getAllElements(Category<T> category)
Returns a new set containing all elements of the given
Category
and its children. |
CategoriesBuilder<T> |
CategoriesBuilder.mergeRecursively(Category<? extends T> other)
|
static <T> void |
Categories.mergeRecursively(MutableCategory<T> target,
Category<? extends T> source)
|
static String |
Categories.toFormattedString(Category<?> category)
Creates a formatted, multi-line string representation of the given
Category. |
Copyright © 2018. All rights reserved.