Class ModelProperty<T>

  • All Implemented Interfaces:
    java.util.function.Predicate<T>

    public class ModelProperty<T>
    extends java.lang.Object
    implements java.util.function.Predicate<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.function.Predicate<T> pred  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(T t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Field Detail

      • pred

        private final java.util.function.Predicate<T> pred
    • Constructor Detail

      • ModelProperty

        public ModelProperty()
      • ModelProperty

        public ModelProperty​(java.util.function.Predicate<T> pred)
    • Method Detail

      • test

        public boolean test​(T t)
        Specified by:
        test in interface java.util.function.Predicate<T>