org.fest.assertions.internal
Class Shorts

java.lang.Object
  extended by org.fest.assertions.internal.Comparables
      extended by org.fest.assertions.internal.Numbers<Short>
          extended by org.fest.assertions.internal.Shorts

public class Shorts
extends Numbers<Short>

Reusable assertions for Shorts.

Author:
Alex Ruiz, Joel Costigliola

Constructor Summary
Shorts(org.fest.util.ComparisonStrategy comparisonStrategy)
           
 
Method Summary
static Shorts instance()
          Returns the singleton instance of this class.
protected  Short zero()
           
 
Methods inherited from class org.fest.assertions.internal.Numbers
assertIsNegative, assertIsNotZero, assertIsPositive, assertIsZero
 
Methods inherited from class org.fest.assertions.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shorts

public Shorts(org.fest.util.ComparisonStrategy comparisonStrategy)
Method Detail

instance

public static Shorts instance()
Returns the singleton instance of this class.

Returns:
the singleton instance of this class.

zero

protected Short zero()
Specified by:
zero in class Numbers<Short>


Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.