Class UInt384s

java.lang.Object
org.apache.tuweni.units.bigints.UInt384s

public final class UInt384s extends Object
Static utility methods on UInt384 values.
  • Method Details

    • max

      public static <T extends UInt384Value<T>> T max(T v1, T v2)
      Returns the maximum of two UInt384 values.
      Type Parameters:
      T - The concrete type of the two values.
      Parameters:
      v1 - The first value.
      v2 - The second value.
      Returns:
      The maximum of v1 and v2.
    • min

      public static <T extends UInt384Value<T>> T min(T v1, T v2)
      Returns the minimum of two UInt384 values.
      Type Parameters:
      T - The concrete type of the two values.
      Parameters:
      v1 - The first value.
      v2 - The second value.
      Returns:
      The minimum of v1 and v2.