com.twitter.common.args.constraints
Class NotNegativeNumberVerifier

java.lang.Object
  extended by com.twitter.common.args.constraints.NotNegativeNumberVerifier

Verifier to ensure that a number is non-negative.


Constructor Summary
NotNegativeNumberVerifier()
          
Method Summary
 String toString(Class<? extends Number> argType, Annotation annotation)
          
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotNegativeNumberVerifier

public NotNegativeNumberVerifier()
Method Detail

verify

public void verify(Number number,
                   Annotation annotation)

toString

public String toString(Class<? extends Number> argType,
                       Annotation annotation)