public interface Facets extends Iterable<Facet>
Modifier and Type | Method and Description |
---|---|
<T extends Facet> |
facet(Class<T> facetType,
String name)
Returns the facet by name already casted to the specified type.
|
<T extends Facet> |
facet(String name)
A facet of the specified name.
|
List<Facet> |
facets()
The list of
Facet s. |
Map<String,Facet> |
facetsAsMap()
Returns the
Facet s keyed by facet name. |
Map<String,Facet> |
getFacets()
Returns the
Facet s keyed by facet name. |
forEach, iterator, spliterator
Copyright © 2009–2015. All rights reserved.