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