net.walend.enum
Interface Enum

All Superinterfaces:
java.util.Collection, Immutable, java.util.Set
All Known Implementing Classes:
AbstractEnum

public interface Enum
extends Immutable, java.util.Set

A container for a Set of static values similar to a C enum. Concrete implementations should be singletons. They should override readResolve() to return the singleton value.

Since:
20021217
Author:
David Walend david@walend.net

Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 



Copyright (c) 2001, 2002, David Walend