public class InstanceFactory extends Object
| Constructor and Description |
|---|
InstanceFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Instance<T> |
createInstance(T outcome,
Object... featureData) |
static <T> Instance<T> |
createInstance(T outcome,
String featureData) |
public InstanceFactory()
public static <T> Instance<T> createInstance(T outcome, Object... featureData)
outcome - the outcome of the returned instancefeatureData - an even number of elements corresponding to name/value pairs used to create featurespublic static <T> Instance<T> createInstance(T outcome, String featureData)
outcome - the outcome of the returned instancefeatureData - space delimited features. Here the features only have names (no values) corresponding
to the space delimited strings.Copyright © 2014. All rights reserved.