Package pal.util

Interface AlgorithmCallback


public interface AlgorithmCallback
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A Utility class that provides some simple implementations of AlgorithmCallback that can be used for manipulating callback results
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    Should be called intermittedly to check if algorithm should stop (should return null if has output)
    void
    updateProgress(double progress)
     
    void
    updateStatus(String statusString)
    Inform caller of current status
  • Method Details

    • isPleaseStop

      boolean isPleaseStop()
      Should be called intermittedly to check if algorithm should stop (should return null if has output)
    • updateProgress

      void updateProgress(double progress)
      Parameters:
      progress - between 0..1
    • clearProgress

      void clearProgress()
    • updateStatus

      void updateStatus(String statusString)
      Inform caller of current status