public class BLangVMStructs extends Object
| Constructor and Description |
|---|
BLangVMStructs() |
| Modifier and Type | Method and Description |
|---|---|
static BStruct |
createBStruct(StructInfo structInfo,
Object... values)
Create BStruct for given StructInfo and BValues.
|
static BStruct |
createObject(StructInfo structInfo,
BValue... values)
Create ballerina object.
|
public static BStruct createBStruct(StructInfo structInfo, Object... values)
structInfo - StructInfo of the BStructvalues - field values of the BStruct.public static BStruct createObject(StructInfo structInfo, BValue... values)
structInfo - StructInfo of the BStructvalues - field values of the BStruct.Copyright © 2018 WSO2. All rights reserved.