public final class ProductUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends ProductIntent> |
getIntent(Product product,
java.lang.Class<T> productIntent)
Retrieve a specific intent from a product.
|
public static <T extends ProductIntent> T getIntent(Product product, java.lang.Class<T> productIntent)
T - Type of the intent.product - Product te read intent from.productIntent - Type of the intent.