Class NTGenericAmounts


  • public final class NTGenericAmounts
    extends java.lang.Object
    Functions to construct generic amounts.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static NTGenericAmount ofPair​(byte lo, byte hi)
      Construct an amount from the given pair of values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ofPair

        public static NTGenericAmount ofPair​(byte lo,
                                             byte hi)
        Construct an amount from the given pair of values.
        Parameters:
        lo - The low value
        hi - The high value
        Returns:
        A generic amount