FileDocCategorySizeDatePackage
ListManager.javaAPI DocExample959Sun Nov 23 04:50:40 GMT 2003oreilly.hcj.tiger

ListManager.java

/*
 *     file: ListManager.java
 *  package: oreilly.hcj.tiger
 *
 * 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.*;

/** 
 * Implements a manager of lists that stores the lists by
 * key.
 */
public class ListManager<Type extends List<? super Integer>> {
	Type values = null;

	ListManager(final Type values) {
		this.values = values;
	}
	
	public void someMethod(final int idx) {
	//	int result = values.get(idx).compareTo();
//		int intValue = values.get(idx).intValue();
		int code = values.get(idx).hashCode();
	}
}

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