public int getAttributeMask() {
    int mask = 0;
    for (Cycle cycle : myCycles) {
      mask |= 1 << cycle.myModel.mAttrIndex;
    }
    return mask;
  }
The management of a collection of Cycles which contain the
model, view (graph) and the controller ui panel.
ConstraintLayoutExamples/CycleEditor/src/com/google/androidstudio/motionlayoutcycles/CycleSetModel.java