All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.Util.SingletonEnumerator

java.lang.Object
   |
   +----harpoon.Util.SingletonEnumerator

public class SingletonEnumerator
extends Object
implements Enumeration
SingletonEnumerator enumerates a single value.

Version:
$Id: SingletonEnumerator.java,v 1.2 1998/10/11 02:37:59 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Constructor Index

 o SingletonEnumerator(Object)
Creates a SingletonEnumerator which enumerates the single value o.

Method Index

 o hasMoreElements()
 o nextElement()

Constructors

 o SingletonEnumerator
 public SingletonEnumerator(Object o)
Creates a SingletonEnumerator which enumerates the single value o.

Methods

 o hasMoreElements
 public boolean hasMoreElements()
 o nextElement
 public Object nextElement()

All Packages  Class Hierarchy  This Package  Previous  Next  Index