org.apache.lucene.facet.associations
public class CategoryAssociationsContainer extends Object implements Iterable<CategoryPath>
CategoryAssociation per CategoryPath.| Constructor and Description |
|---|
CategoryAssociationsContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears all category associations.
|
CategoryAssociation |
getAssociation(CategoryPath category)
|
Iterator<CategoryPath> |
iterator() |
void |
setAssociation(CategoryPath category,
CategoryAssociation association)
Adds the
CategoryAssociation for the given category. |
String |
toString() |
public void setAssociation(CategoryPath category, CategoryAssociation association)
CategoryAssociation for the given category. Overrides any assocation that was previously set.public CategoryAssociation getAssociation(CategoryPath category)
public Iterator<CategoryPath> iterator()
iterator in interface Iterable<CategoryPath>public void clear()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.