public ArrayList<ConstraintWidget> buildList(ScoutWidget[] list){
  ArrayList<ConstraintWidget> ret=new ArrayList<>();
  for (int i=mContainSet.nextSetBit(0); i >= 0; i=mContainSet.nextSetBit(i + 1)) {
    ret.add(list[i].mConstraintWidget);
  }
  return ret;
}

public ArrayList < ConstraintWidget > buildList ( ScoutWidget [ ] list ) { ArrayList < ConstraintWidget > ret = new ArrayList < > ( ) ; for ( int i = mContainSet . nextSetBit ( 0 ) ; i >= 0 ; i = mContainSet . nextSetBit ( i + 1 ) ) { ret . add ( list [ i ] . mConstraintWidget ) ; } return ret ; }
build list of constraintwidgets from the scoutwidget list
