net.walend.enum
Interface Immutable

All Known Subinterfaces:
Enum
All Known Implementing Classes:
AbstractEnum, Operation, Operations, Operations.Add

public interface Immutable

If a class is declared final, has no mutator methods and no visible variable members, it should implement this marker interface. Thready code that uses objects of this class need not worry about synchronizing a guard before using the objects. Many Immutable classes should also be final.

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



Copyright (c) 2001, 2002, David Walend