Nonnegative.Checker
Date: 2016-03-08

javax.annotation

## Class Nonnegative.Checker

- java.lang.Object
- - javax.annotation.Nonnegative.Checker

- All Implemented Interfaces:
    TypeQualifierValidator<Nonnegative>
  Enclosing class:
    Nonnegative

      public static class Nonnegative.Checker
      extends java.lang.Object
      implements TypeQualifierValidator<Nonnegative>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Nonnegative.Checker()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `When` | `forConstantValue(Nonnegative annotation, java.lang.Object v)` Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Nonnegative.Checker

          public Nonnegative.Checker()

  - ### Method Detail

    - #### forConstantValue

          public When forConstantValue(Nonnegative annotation,
                              java.lang.Object v)

      Description copied from interface: `TypeQualifierValidator`
      Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.
      Specified by:
        `forConstantValue` in interface `TypeQualifierValidator<Nonnegative>`
      Parameters:
        `annotation` - the type qualifier
        `v` - the value to check
      Returns:
        a value indicating whether or not the value is an member of the values denoted by the type qualifier