public final class CategoriesOptions extends Object
| Constructor and Description |
|---|
CategoriesOptions()
Create a set of categorization options with default values.
|
CategoriesOptions(Boolean explain,
Integer numCategories)
constructor for
CategoriesOptions |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
if the param is a
CategoriesOptions, compare contents for equality |
Boolean |
getExplain()
get whether to return explanation strings for each category returned
|
Integer |
getNumCategories()
get max number of categories
|
int |
hashCode() |
void |
setExplain(Boolean explain)
set whether to return explanation strings for each category returned
|
void |
setNumCategories(Integer numCategories)
set max number of categories
|
public CategoriesOptions()
null is used to represent defaults.public Boolean getExplain()
public Integer getNumCategories()
public void setExplain(Boolean explain)
explain - whether to return explanation stringspublic void setNumCategories(Integer numCategories)
numCategories - number of categoriesCopyright © 2014–2016 Basis Technology Corp.. All rights reserved.