Project

General

Profile

« Previous | Next » 

Revision 07d9e55f

Added by Leszek Koltunski about 3 years ago

Progress replacing the enum ObjetType with the class RubikObjectList.

View differences:

src/main/java/org/distorted/library/main/InternalStackFrame.java
51 51
      }
52 52
    }
53 53

  
54
  private static LinkedList<InternalObject> mCommonDoneList = new LinkedList<>(); //
55
  private static HashMap<Long,Job> mCommonToDoMap           = new HashMap<>();    // Common
56
  private static long mCommonNextClientID                   = 0;                  // InternalObject
57
  private static long mCommonNextSystemID                   = 0;                  // (postprocessing)
54
  private static final LinkedList<InternalObject> mCommonDoneList = new LinkedList<>(); //
55
  private static final HashMap<Long,Job> mCommonToDoMap           = new HashMap<>();    // Common
56
  private static long mCommonNextClientID                         = 0;                  // InternalObject
57
  private static long mCommonNextSystemID                         = 0;                  // (postprocessing)
58 58

  
59 59
  //////////////////////////////////////////////////////////////////
60
  private LinkedList<InternalObject> mDoneList;                   //
61
  private HashMap<Long,Job> mToDoMap;                             //
60
  private final LinkedList<InternalObject> mDoneList;             //
61
  private final HashMap<Long,Job> mToDoMap;                       //
62
  private final long mTaskId;                                     //
62 63
  private long mNextClientID;                                     // InternalObject
63 64
  private long mNextSystemID;                                     //
64
  private long mTaskId;                                           //
65 65

  
66 66
  //////////////////////////////////////////////////////////////////
67 67
  private boolean mInitialized;                                   // DistortedLibrary
68 68

  
69 69
  //////////////////////////////////////////////////////////////////
70
  private int[] mMax;                                             // EffectQueue
70
  private final int[] mMax;                                       // EffectQueue
71 71

  
72 72
  //////////////////////////////////////////////////////////////////
73 73
  private long mNextEffectsID;                                    // DistortedEffects;
......
80 80
  private long mNextNodeID;
81 81

  
82 82
  //////////////////////////////////////////////////////////////////
83
  private ArrayList<InternalMaster.Slave> mSlaves;                // InternalMaster
83
  private final ArrayList<InternalMaster.Slave> mSlaves;          // InternalMaster
84 84

  
85 85
  ////////////////////////////////////////////////////////////////// EffectQueue
86 86
  private long mNextQueueID;                                      //
87
  private HashMap<ArrayList<Long>,Long> mMapID;                   // maps lists of Effect IDs (longs)
87
  private final HashMap<ArrayList<Long>,Long> mMapID;             // maps lists of Effect IDs (longs)
88 88
                                                                  // to a single long - the queue ID.
89 89

  
90 90
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff