Class ThreadIndexer

  • Direct Known Subclasses:
    MultiThreadIndexer

    public abstract class ThreadIndexer
    extends java.lang.Object
    Class that returns the thread indices.
    • Constructor Detail

      • ThreadIndexer

        public ThreadIndexer()
    • Method Detail

      • 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