EncodingComplexCase
constructor(booleanField: Boolean = true, byteField: Byte = 1, shortField: Short = 2, intField: Int = 3, longField: Long = 4, floatField: Float = 5.0f, doubleField: Double = 6.0, charField: Char = 'A', stringField: String = "Hello", byteArrayField: ByteArray = byteArrayOf(1, 2, 3), shortListField: List<Short> = listOf(4, 5, 6), intSetField: Set<Int> = setOf(7, 8, 9), longListField: MutableList<Long> = mutableListOf(10L, 11L, 12L), floatSetField: Set<Float> = setOf(13.0f, 14.0f, 15.0f), doubleListField: List<Double> = listOf(16.0, 17.0, 18.0), charListField: MutableList<Char> = mutableListOf('B', 'C', 'D'), stringSetField: Set<String> = setOf("World", "Kotlin"), listOfLists: List<List<Int>> = listOf(listOf(1, 2), listOf(3, 4)), mapOfStringToInt: Map<String, Int> = mapOf("one" to 1, "two" to 2), mapOfIntToBoolean: Map<Int, Boolean> = mapOf(1 to true, 2 to false), setOfSets: Set<Set<Float>> = setOf(setOf(1.0f, 2.0f), setOf(3.0f, 4.0f)), mutableMapOfStringToList: MutableMap<String, List<Double>> = mutableMapOf("key1" to listOf(1.0, 2.0), "key2" to listOf(3.0, 4.0)), nestedData: NestedData = NestedData(
nestedInt = 99,
nestedString = "Nested",
innerNestedData = listOf(
InnerNestedData(
innerValue = 100.0,
innerList = listOf("Inner", "List")
)
)
), mapOfStringToNestedData: Map<String, NestedData> = mapOf("nested" to NestedData(
nestedInt = 101,
nestedString = "Nested",
innerNestedData = listOf(
InnerNestedData(
innerValue = 102.0,
innerList = listOf("Inner", "List")
)
)
), "nested2" to NestedData(
nestedInt = 103,
nestedString = "Nested",
innerNestedData = listOf(
InnerNestedData(
innerValue = 104.0,
innerList = listOf("Inner", "List")
)
)
)
))