Interface ComputableTask<A,​V>


  • public interface ComputableTask<A,​V>
    Computable task. Note: If implementation has mutable state, it must override equals and hashCode methods, taking into account all fields that may have any effect on computation result.
    • Method Detail

      • compute

        V compute​(A arg)
           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException