org.srplib.validation
Class PositiveNumberValidator<T extends Number>

java.lang.Object
  extended by org.srplib.validation.PositiveNumberValidator<T>
All Implemented Interfaces:
Validator<T>

public class PositiveNumberValidator<T extends Number>
extends Object
implements Validator<T>

Validates if Number is positive.

Author:
Anton Pechinsky

Constructor Summary
PositiveNumberValidator()
           
 
Method Summary
 void validate(Validatable<T> validatable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositiveNumberValidator

public PositiveNumberValidator()
Method Detail

validate

public void validate(Validatable<T> validatable)
Specified by:
validate in interface Validator<T extends Number>


Copyright © 2012. All Rights Reserved.