Class ShortPredicates.LessThanShortPredicate

  • All Implemented Interfaces:
    java.io.Serializable, ShortPredicate
    Enclosing class:
    ShortPredicates

    private static final class ShortPredicates.LessThanShortPredicate
    extends java.lang.Object
    implements ShortPredicate
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private short expected  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LessThanShortPredicate​(short expected)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(short actual)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • expected

        private final short expected
    • Constructor Detail

      • LessThanShortPredicate

        private LessThanShortPredicate​(short expected)
    • Method Detail

      • accept

        public boolean accept​(short actual)
        Specified by:
        accept in interface ShortPredicate