mikera.util
Class Unsigned
- java.lang.Object
-
- mikera.util.Unsigned
-
public class Unsigned extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static byteadd(byte b1, byte b2)static intadd(int i1, int i2)static longadd(long l1, long l2)static shortadd(short s1, short s2)static java.lang.StringasString(byte b)static java.lang.StringasString(int i)static java.lang.StringasString(long l)static java.lang.StringasString(short s)static bytedivide(byte b1, byte b2)static intdivide(int i1, int i2)static longdivide(long l1, long l2)static shortdivide(short s1, short s2)static booleaneq(byte b1, byte b2)static booleaneq(int i1, int i2)static booleaneq(long l1, long l2)static booleaneq(short s1, short s2)static booleange(byte b1, byte b2)static booleange(int i1, int i2)static booleange(long l1, long l2)static booleange(short s1, short s2)static booleangt(byte b1, byte b2)static booleangt(int i1, int i2)static booleangt(long l1, long l2)static booleangt(short s1, short s2)static booleanle(byte b1, byte b2)static booleanle(int i1, int i2)static booleanle(long l1, long l2)static booleanle(short s1, short s2)static booleanlt(byte b1, byte b2)static booleanlt(int i1, int i2)static booleanlt(long l1, long l2)static booleanlt(short s1, short s2)static byteminus(byte b1, byte b2)static intminus(int i1, int i2)static longminus(long l1, long l2)static shortminus(short s1, short s2)static bytemultiply(byte b1, byte b2)static intmultiply(int i1, int i2)static longmultiply(long l1, long l2)static shortmultiply(short s1, short s2)static booleanne(byte b1, byte b2)static booleanne(int i1, int i2)static booleanne(long l1, long l2)static booleanne(short s1, short s2)static byteparseUnsignedByte(java.lang.String text)static intparseUnsignedInt(java.lang.String text)static longparseUnsignedLong(java.lang.String text)static shortparseUnsignedShort(java.lang.String text)static java.math.BigIntegertoBigInteger(byte b)static java.math.BigIntegertoBigInteger(int i)static java.math.BigIntegertoBigInteger(long l)static java.math.BigIntegertoBigInteger(short s)
-
-
-
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