File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
jvm/src/aws/smithy/kotlin/runtime/content Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -396,6 +396,7 @@ public final class aws/smithy/kotlin/runtime/content/BigDecimal : java/lang/Numb
396396 public final fun floatValue ()F
397397 public final fun getExponent ()I
398398 public final fun getMantissa ()Laws/smithy/kotlin/runtime/content/BigInteger;
399+ public final fun getValue ()Ljava/lang/String;
399400 public fun hashCode ()I
400401 public final fun intValue ()I
401402 public final fun longValue ()J
@@ -421,6 +422,7 @@ public final class aws/smithy/kotlin/runtime/content/BigInteger : java/lang/Numb
421422 public final fun doubleValue ()D
422423 public fun equals (Ljava/lang/Object;)Z
423424 public final fun floatValue ()F
425+ public final fun getValue ()Ljava/lang/String;
424426 public fun hashCode ()I
425427 public final fun intValue ()I
426428 public final fun longValue ()J
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ public actual class BigDecimal private constructor(private val delegate: JvmBigD
4545 public actual val exponent: Int
4646 get() = delegate.scale()
4747
48+ public val value: String = delegate.toString()
49+
4850 public actual operator fun plus (other : BigDecimal ): BigDecimal =
4951 coalesceOrCreate(delegate + other.delegate, this , other)
5052
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public actual class BigInteger internal constructor(internal val delegate: JvmBi
3535 public actual override fun toDouble (): Double = delegate.toDouble()
3636 public actual override fun toString (): String = toString(10 )
3737 public actual fun toString (radix : Int ): String = delegate.toString(radix)
38+ public val value: String = delegate.toString()
3839
3940 public actual override fun hashCode (): Int = 17 + delegate.hashCode()
4041 public actual override fun equals (other : Any? ): Boolean = other is BigInteger && delegate == other.delegate
You can’t perform that action at this time.
0 commit comments