FileDocCategorySizeDatePackage
ErrorLevel.javaAPI DocExample769Fri Nov 21 00:53:44 GMT 2003oreilly.hcj.tiger

ErrorLevel.java

/*
 *     file: ErrorLevel.java
 *  package: <default> 
 *
 * This software is granted under the terms of the Common Public License,
 * CPL, which may be found at the following URL:
 * http://www-124.ibm.com/developerworks/oss/CPLv1.0.htm
 *
 * Copyright(c) 2003-2005 by the authors indicated in the @author tags.
 * All Rights are Reserved by the various authors.
 *
########## DO NOT EDIT ABOVE THIS LINE ########## */
package oreilly.hcj.tiger;

import java.util.ListIterator;

/**
 * Demonstration of the enum facility of Tiger, JDK 1.5.
 */
public enum ErrorLevel {
	DEBUG(0x1), INFO(0x2), WARNING(0x4), ERROR(0x8);

	final int bit;

	public ErrorLevel(final int bit) {
		this.bit = bit;
	}
}

/* ########## End of File ########## */