Class ThreadIndexer

java.lang.Object
gaiasky.desktop.concurrent.ThreadIndexer
Direct Known Subclasses:
MultiThreadIndexer

public abstract class ThreadIndexer extends Object
Class that returns the thread indices.
  • Field Details

  • Constructor Details

    • ThreadIndexer

      public ThreadIndexer()
  • Method Details

    • initialize

      public static void initialize(ThreadIndexer inst)
    • i

      public static int i()
    • idx

      public abstract int idx()
      Gets the index of the current thread.
      Returns:
      The index.
    • nThreads

      public abstract int nThreads()
      Number of threads.
      Returns:
      The number of threads.