/* File: Pair.java Originally written by Doug Lea and released into the public domain. Thanks for the assistance and support of Sun Microsystems Labs, Agorics Inc, Loral, and everyone contributing, testing, and using this code. History: Date Who What 24Sep95 dl@cs.oswego.edu Create from collections.java working file */ package collections; import java.util.Enumeration; import java.util.NoSuchElementException; /** * * * Pair extends Keyed to serve as an interface for pairs of keyed elements * @author Doug Lea * @version 0.93 * *
For an introduction to this package see Overview . **/ public interface Pair extends Keyed { /** * Return an object serving as an element value **/ public Object element(); }