Constructor and Description |
---|
Category() |
Category(String name,
Class<T> dataClass,
Key<?>... keys)
Creates a new Category instance with the specified name.
|
public Category()
public Category(String name, Class<T> dataClass, Key<?>... keys)
name
- the name of the categoryIllegalArgumentException
- if a Category is created with a name that has been used beforepublic String getName()
public Collection<Key<?>> getKeys()
Copyright © 2013. All Rights Reserved.