Utility Classes :: Exact

Overview

The Exact() utility class is used when you want to assert == equality. In the following signature, the first parameter must be either 6 or 7:

@accepts(IsOneOf(Exact(6), Exact(7)))

Where IsOneOf() is the IsOneOf utility class.

Details

Valid XHTML 1.0 Transitional