Class PFor

java.lang.Object
org.ujmp.core.util.concurrent.PFor

public abstract class PFor extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Object[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PFor(int first, int last)
     
    PFor(int threads, int first, int last)
     
    PFor(int threads, int first, int last, Object... objects)
     
    PFor(int first, int last, Object... objects)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final Object
    getObject(int i)
     
    abstract void
    step(int i)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • objects

      private final Object[] objects
  • Constructor Details

    • PFor

      public PFor(int threads, int first, int last)
    • PFor

      public PFor(int threads, int first, int last, Object... objects)
    • PFor

      public PFor(int first, int last)
    • PFor

      public PFor(int first, int last, Object... objects)
  • Method Details

    • step

      public abstract void step(int i)
    • getObject

      public final Object getObject(int i)