public class NullItemCategoryRegistry extends java.lang.Object implements ItemCategoryRegistry
Constructor and Description |
---|
NullItemCategoryRegistry() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ItemType> |
getAll(Category<ItemType> category) |
java.util.Set<java.lang.String> |
getCategories(ItemType categorised)
Gets a list of categories given to a value.
|
java.util.Set<ItemType> |
getCategorisedByName(java.lang.String category)
Gets a set of values with a given category.
|
public java.util.Set<ItemType> getCategorisedByName(java.lang.String category)
CategoryRegistry
getCategorisedByName
in interface CategoryRegistry<ItemType>
category
- The categorypublic java.util.Set<ItemType> getAll(Category<ItemType> category)
getAll
in interface CategoryRegistry<ItemType>
public java.util.Set<java.lang.String> getCategories(ItemType categorised)
CategoryRegistry
getCategories
in interface CategoryRegistry<ItemType>
categorised
- The value