Class DefaultUnitConversionServiceImpl

java.lang.Object
com.kryptokrauts.aeternity.sdk.service.unit.impl.DefaultUnitConversionServiceImpl
All Implemented Interfaces:
UnitConversionService

public class DefaultUnitConversionServiceImpl
extends java.lang.Object
implements UnitConversionService
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultUnitConversionServiceImpl()  
    DefaultUnitConversionServiceImpl​(int tokenDecimals)  
  • Method Summary

    Modifier and Type Method Description
    java.math.BigDecimal toBiggestUnit​(java.lang.String valueOfSmallestUnit)  
    java.math.BigDecimal toBiggestUnit​(java.math.BigInteger valueOfSmallestUnit)  
    java.math.BigInteger toSmallestUnit​(java.lang.String valueOfBiggestUnit)  
    java.math.BigInteger toSmallestUnit​(java.math.BigDecimal valueOfBiggestUnit)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultUnitConversionServiceImpl

      public DefaultUnitConversionServiceImpl()
    • DefaultUnitConversionServiceImpl

      public DefaultUnitConversionServiceImpl​(int tokenDecimals)
  • Method Details