Class TimedObjectEvaluator<T,​V extends java.lang.Comparable<V>>

  • All Implemented Interfaces:
    org.api4.java.common.attributedobjects.IGetter<T,​V>, org.api4.java.common.attributedobjects.IObjectEvaluator<T,​V>

    public abstract class TimedObjectEvaluator<T,​V extends java.lang.Comparable<V>>
    extends java.lang.Object
    implements org.api4.java.common.attributedobjects.IObjectEvaluator<T,​V>
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      V evaluate​(T object)  
      abstract V evaluateSupervised​(T item)  
      abstract java.lang.String getMessage​(T item)  
      abstract org.api4.java.algorithm.Timeout getTimeout​(T item)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.api4.java.common.attributedobjects.IObjectEvaluator

        getPropertyOf
    • Constructor Detail

      • TimedObjectEvaluator

        public TimedObjectEvaluator()
    • Method Detail

      • evaluateSupervised

        public abstract V evaluateSupervised​(T item)
                                      throws java.lang.InterruptedException,
                                             org.api4.java.common.attributedobjects.ObjectEvaluationFailedException
        Throws:
        java.lang.InterruptedException
        org.api4.java.common.attributedobjects.ObjectEvaluationFailedException
      • getTimeout

        public abstract org.api4.java.algorithm.Timeout getTimeout​(T item)
      • getMessage

        public abstract java.lang.String getMessage​(T item)
      • evaluate

        public final V evaluate​(T object)
                         throws java.lang.InterruptedException,
                                org.api4.java.common.attributedobjects.ObjectEvaluationFailedException
        Specified by:
        evaluate in interface org.api4.java.common.attributedobjects.IObjectEvaluator<T,​V extends java.lang.Comparable<V>>
        Throws:
        java.lang.InterruptedException
        org.api4.java.common.attributedobjects.ObjectEvaluationFailedException