Class CancellableThread.Flag

java.lang.Object
com.xinapse.util.CancellableThread.Flag
Enclosing class:
CancellableThread

public static class CancellableThread.Flag extends Object
A flag that can be set to indicate that a cancellation has taken place.
  • Constructor Details

    • Flag

      public Flag()
  • Method Details

    • set

      public void set()
      Set the flag.
    • isSet

      public boolean isSet()
      Test whether the flag has been set.
      Returns:
      true if the flag has been set; false otherwise.