AnyLogic
Expand
Font size

Interface IExperimentHost.IValue

Enclosing interface:
IExperimentHost

@AnyLogicInternalAPI
public static interface IExperimentHost.IValue
Used for converting String/JSON input data to arbitrary java classes requested by Engine. This is delegated to Cloud impl, here we have interface only. should be a non-primitive type.

Method Summary

Modifier and TypeMethodDescription
<T> Tget(Class<T> type)
Converts the value to the given type

Method Details

get

<T> T get(Class<T> type)
   throws Exception
Converts the value to the given type
Throws:
Exception - if conversion fails