Class BaseSearchFacetField.BaseCount
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchengine.base.BaseSearchFacetField.BaseCount
-
- All Implemented Interfaces:
SearchFacetField.Count
- Enclosing class:
- BaseSearchFacetField
public static class BaseSearchFacetField.BaseCount extends Object implements SearchFacetField.Count
A foundation class for implementing SearchFacetField.Count.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCount()The number of times that the value occurs in the results.StringgetName()The value of this facet.StringtoString()
-
-
-
Constructor Detail
-
BaseCount
public BaseCount(String name, long count)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:SearchFacetField.CountThe value of this facet. Never null.- Specified by:
getNamein interfaceSearchFacetField.Count
-
getCount
public long getCount()
Description copied from interface:SearchFacetField.CountThe number of times that the value occurs in the results.- Specified by:
getCountin interfaceSearchFacetField.Count
-
-