public final class ProductUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends IntentType> |
getIntent(Product product,
Class<T> intentType)
Retrieve a specific intent from a product.
|
public static <T extends IntentType> T getIntent(Product product, Class<T> intentType)
T - Type of the intent.product - Product te read intent from.intentType - Type of the intent.Copyright © 2016. All rights reserved.