public interface Constants
We often have to define constants in our code. The new Typesafe Enumeration facility in Java 1.5 removes the need for many of these constants; however when interfacing to other programming systems, defining data formats, and other similar activities constants are still very useful.
Classes which define constants should obey the following rules:
Lib)The "import static" facility provided in Java 1.5 makes it possible to include constants into another class's namespace without having to inherit from the Constants implementation.
A skeletal implementation is provided in skeletons/java/SkeletonConstants.java for your convenience and pleasure.
Copyright 2006 Partner Software, Inc.