Class Sandbox

java.lang.Object
  extended by Sandbox

public class Sandbox
extends java.lang.Object

Author:
Jonathan L Dautrich Jr.

Constructor Summary
Sandbox()
           
 
Method Summary
private static void alpha()
           
static boolean bit(byte x, int y)
          Returns true if and only if bit y in byte x is set.
private static boolean bit2(byte x, int y)
          Returns true if and only if bit y in byte x is set.
private static void decodeJbig()
           
static void expand(boolean b, int diff)
          Expands the current PixelPair, increasing its difference value and updating the pixel values accordingly.
static void magicDemo()
           
static void main(java.lang.String[] args)
           
private static void monochromeBitmap()
           
static void setByte(byte x, short y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sandbox

public Sandbox()
Method Detail

expand

public static void expand(boolean b,
                          int diff)
Expands the current PixelPair, increasing its difference value and updating the pixel values accordingly.

Parameters:
b -

main

public static void main(java.lang.String[] args)
Parameters:
args -

alpha

private static void alpha()

decodeJbig

private static void decodeJbig()

monochromeBitmap

private static void monochromeBitmap()

setByte

public static void setByte(byte x,
                           short y)

bit

public static boolean bit(byte x,
                          int y)
Returns true if and only if bit y in byte x is set.

Parameters:
x -
y -
Returns:

bit2

private static boolean bit2(byte x,
                            int y)
Returns true if and only if bit y in byte x is set.

Parameters:
x -
y -
Returns:

magicDemo

public static void magicDemo()