Faceted
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> T | |
| public static <T> T | |
| public static <T> T | Returns: not null.Returns a facet of the given subject if supported, throwing an exception otherwise. |
| public static <T> T | Returns: not null.Returns a facet of the given subject if supported, throwing an exception otherwise. |
| Facets | back to summary |
|---|---|
| public Facets() | |
| asFacet | back to summary |
|---|---|
| public static <T> T asFacet(Class<T> facetType, Faceted subject) Returns a facet of the given subject if supported, returning null otherwise.
This does not attempt to cast the subject to the requested type, since
the
| |
| asFacet | back to summary |
|---|---|
| public static <T> T asFacet(Class<T> facetType, Object subject) Returns a facet of the given subject if supported, returning null otherwise.
If the subject implements
| |
| assumeFacet | back to summary |
|---|---|
| public static <T> T assumeFacet(Class<T> facetType, Faceted subject) Returns a facet of the given subject if supported, throwing an exception otherwise.
This does not attempt to cast the subject to the requested type, since
the
| |
| assumeFacet | back to summary |
|---|---|
| public static <T> T assumeFacet(Class<T> facetType, Object subject) Returns a facet of the given subject if supported, throwing an exception otherwise.
If the subject implements
| |