Documentation of 'mikera.util.Unsigned' Java class
Unsigned
mikera.util

Class Unsigned



  • public class Unsigned
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static byte add(byte b1, byte b2) 
      static int add(int i1, int i2) 
      static long add(long l1, long l2) 
      static short add(short s1, short s2) 
      static java.lang.String asString(byte b) 
      static java.lang.String asString(int i) 
      static java.lang.String asString(long l) 
      static java.lang.String asString(short s) 
      static byte divide(byte b1, byte b2) 
      static int divide(int i1, int i2) 
      static long divide(long l1, long l2) 
      static short divide(short s1, short s2) 
      static boolean eq(byte b1, byte b2) 
      static boolean eq(int i1, int i2) 
      static boolean eq(long l1, long l2) 
      static boolean eq(short s1, short s2) 
      static boolean ge(byte b1, byte b2) 
      static boolean ge(int i1, int i2) 
      static boolean ge(long l1, long l2) 
      static boolean ge(short s1, short s2) 
      static boolean gt(byte b1, byte b2) 
      static boolean gt(int i1, int i2) 
      static boolean gt(long l1, long l2) 
      static boolean gt(short s1, short s2) 
      static boolean le(byte b1, byte b2) 
      static boolean le(int i1, int i2) 
      static boolean le(long l1, long l2) 
      static boolean le(short s1, short s2) 
      static boolean lt(byte b1, byte b2) 
      static boolean lt(int i1, int i2) 
      static boolean lt(long l1, long l2) 
      static boolean lt(short s1, short s2) 
      static byte minus(byte b1, byte b2) 
      static int minus(int i1, int i2) 
      static long minus(long l1, long l2) 
      static short minus(short s1, short s2) 
      static byte multiply(byte b1, byte b2) 
      static int multiply(int i1, int i2) 
      static long multiply(long l1, long l2) 
      static short multiply(short s1, short s2) 
      static boolean ne(byte b1, byte b2) 
      static boolean ne(int i1, int i2) 
      static boolean ne(long l1, long l2) 
      static boolean ne(short s1, short s2) 
      static byte parseUnsignedByte(java.lang.String text) 
      static int parseUnsignedInt(java.lang.String text) 
      static long parseUnsignedLong(java.lang.String text) 
      static short parseUnsignedShort(java.lang.String text) 
      static java.math.BigInteger toBigInteger(byte b) 
      static java.math.BigInteger toBigInteger(int i) 
      static java.math.BigInteger toBigInteger(long l) 
      static java.math.BigInteger toBigInteger(short s) 
      • Methods inherited from class java.lang.Object

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

      • add

        public static byte add(byte b1,
                               byte b2)
      • add

        public static short add(short s1,
                                short s2)
      • add

        public static int add(int i1,
                              int i2)
      • add

        public static long add(long l1,
                               long l2)
      • minus

        public static byte minus(byte b1,
                                 byte b2)
      • minus

        public static short minus(short s1,
                                  short s2)
      • minus

        public static int minus(int i1,
                                int i2)
      • minus

        public static long minus(long l1,
                                 long l2)
      • multiply

        public static byte multiply(byte b1,
                                    byte b2)
      • multiply

        public static short multiply(short s1,
                                     short s2)
      • multiply

        public static int multiply(int i1,
                                   int i2)
      • multiply

        public static long multiply(long l1,
                                    long l2)
      • divide

        public static byte divide(byte b1,
                                  byte b2)
      • divide

        public static short divide(short s1,
                                   short s2)
      • divide

        public static int divide(int i1,
                                 int i2)
      • divide

        public static long divide(long l1,
                                  long l2)
      • eq

        public static boolean eq(byte b1,
                                 byte b2)
      • eq

        public static boolean eq(short s1,
                                 short s2)
      • eq

        public static boolean eq(int i1,
                                 int i2)
      • eq

        public static boolean eq(long l1,
                                 long l2)
      • ne

        public static boolean ne(byte b1,
                                 byte b2)
      • ne

        public static boolean ne(short s1,
                                 short s2)
      • ne

        public static boolean ne(int i1,
                                 int i2)
      • ne

        public static boolean ne(long l1,
                                 long l2)
      • gt

        public static boolean gt(byte b1,
                                 byte b2)
      • gt

        public static boolean gt(short s1,
                                 short s2)
      • gt

        public static boolean gt(int i1,
                                 int i2)
      • gt

        public static boolean gt(long l1,
                                 long l2)
      • ge

        public static boolean ge(byte b1,
                                 byte b2)
      • ge

        public static boolean ge(short s1,
                                 short s2)
      • ge

        public static boolean ge(int i1,
                                 int i2)
      • ge

        public static boolean ge(long l1,
                                 long l2)
      • lt

        public static boolean lt(byte b1,
                                 byte b2)
      • lt

        public static boolean lt(short s1,
                                 short s2)
      • lt

        public static boolean lt(int i1,
                                 int i2)
      • lt

        public static boolean lt(long l1,
                                 long l2)
      • le

        public static boolean le(byte b1,
                                 byte b2)
      • le

        public static boolean le(short s1,
                                 short s2)
      • le

        public static boolean le(int i1,
                                 int i2)
      • le

        public static boolean le(long l1,
                                 long l2)
      • asString

        public static java.lang.String asString(byte b)
      • asString

        public static java.lang.String asString(short s)
      • asString

        public static java.lang.String asString(int i)
      • asString

        public static java.lang.String asString(long l)
      • parseUnsignedByte

        public static byte parseUnsignedByte(java.lang.String text)
                                      throws java.lang.NumberFormatException
        Throws:
        java.lang.NumberFormatException
      • parseUnsignedShort

        public static short parseUnsignedShort(java.lang.String text)
                                        throws java.lang.NumberFormatException
        Throws:
        java.lang.NumberFormatException
      • parseUnsignedInt

        public static int parseUnsignedInt(java.lang.String text)
                                    throws java.lang.NumberFormatException
        Throws:
        java.lang.NumberFormatException
      • parseUnsignedLong

        public static long parseUnsignedLong(java.lang.String text)
                                      throws java.lang.NumberFormatException
        Throws:
        java.lang.NumberFormatException
      • toBigInteger

        public static java.math.BigInteger toBigInteger(byte b)
      • toBigInteger

        public static java.math.BigInteger toBigInteger(short s)
      • toBigInteger

        public static java.math.BigInteger toBigInteger(int i)
      • toBigInteger

        public static java.math.BigInteger toBigInteger(long l)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.