Class Longs


  • public class Longs
    extends Numbers<java.lang.Long>
    Reusable assertions for Longs.
    • Field Detail

      • INSTANCE

        private static final Longs INSTANCE
    • Method Detail

      • instance

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

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

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

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

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