Class Shorts


  • public class Shorts
    extends Numbers<java.lang.Short>
    Reusable assertions for Shorts.
    • Field Detail

      • INSTANCE

        private static final Shorts INSTANCE
    • Method Detail

      • instance

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

        protected java.lang.Short zero()
        Specified by:
        zero in class Numbers<java.lang.Short>
      • one

        protected java.lang.Short one()
        Specified by:
        one in class Numbers<java.lang.Short>
      • absDiff

        protected java.lang.Short absDiff​(java.lang.Short actual,
                                          java.lang.Short other)
        Specified by:
        absDiff in class Numbers<java.lang.Short>
      • isGreaterThan

        protected boolean isGreaterThan​(java.lang.Short value,
                                        java.lang.Short other)
        Specified by:
        isGreaterThan in class Numbers<java.lang.Short>