edu.jhu.ece.iacl.jist.structures.image
Class USbyte

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.structures.image.USbyte

public class USbyte
extends java.lang.Object

The Class USbyte.


Constructor Summary
USbyte()
          Instantiates a new u sbyte.
USbyte(byte b)
          Instantiates a new u sbyte.
USbyte(int i)
          Instantiates a new u sbyte.
 
Method Summary
static void main(java.lang.String[] args)
          The main method.
 int signed2unsigned(byte signed)
          Signed2unsigned.
 byte unsigned2signed(int uns)
          Unsigned2signed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

USbyte

public USbyte(byte b)
Instantiates a new u sbyte.

Parameters:
b - the b

USbyte

public USbyte()
Instantiates a new u sbyte.


USbyte

public USbyte(int i)
Instantiates a new u sbyte.

Parameters:
i - the i
Method Detail

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - the arguments

signed2unsigned

public int signed2unsigned(byte signed)
Signed2unsigned.

Parameters:
signed - the signed
Returns:
the int

unsigned2signed

public byte unsigned2signed(int uns)
Unsigned2signed.

Parameters:
uns - the uns
Returns:
the byte