public void fromArray(int[] members){
  if (this.members.length != members.length) {
    throw new IllegalArgumentException("invalid subset length");
  }
  memberSet.clear();
  for (int i=0; i < members.length; i++) {
    this.members[i]=members[i];
    memberSet.add(members[i]);
  }
  validate();
}

public void fromArray ( int [ ] members ) { if ( this . members . length != members . length ) { throw new IllegalArgumentException ( "invalid subset length" ) ; } memberSet . clear ( ) ; for ( int i = 0 ; i < members . length ; i ++ ) { this . members [ i ] = members [ i ] ; memberSet . add ( members [ i ] ) ; } validate ( ) ; }
populates this subset from an array .
