FileDocCategorySizeDatePackage
Bits.javaAPI DocExample984Tue Dec 12 18:58:12 GMT 2000None

Bits

public class Bits extends Object

Fields Summary
static final short
READY
static final short
PROCESSING
static final short
RECOVERING
static final short
ERROR
static final String
READY_STRING
static final String
PROCESSING_STRING
static final String
RECOVERING_STRING
static final String
ERROR_STRING
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


         
        short status = 7;

	if ((status & READY) == READY) {
	    System.out.println(READY_STRING);
        }
	if ((status & PROCESSING) == PROCESSING) {
	    System.out.println(PROCESSING_STRING);
        }
	if ((status & RECOVERING) == RECOVERING) {
	    System.out.println(RECOVERING_STRING);
        }
	if ((status & ERROR) == ERROR) {
	    System.out.println(ERROR_STRING);
        }