FileDocCategorySizeDatePackage
Pair.javaAPI DocExample956Sat Nov 22 23:38:56 GMT 2003oreilly.hcj.tiger

Pair.java

/*
 *     file: Pair.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.*;

/**
 * Type used to demonstrate Generics Syntax.
 */
public class Pair<LeftType, RightType> {
	private LeftType left = null;
	private RightType right = null; 

	public LeftType left() {
		return this.left;
	}

	public void left(final LeftType left) {
		this.left = left;
	}

	public RightType right() {
		return this.right;
	}

	public void Right(final RightType right) {
		this.right = right;
	}
}

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