private <T extends DataObject>boolean testSelections(JClass jc,T dobj){
  List<JSelection> list=jc.getSelections();
  for (  JSelection js : list) {
    if (testSelection(jc,js,dobj) == false) {
      return false;
    }
  }
  return true;
}

private < T extends DataObject > boolean testSelections ( JClass jc , T dobj ) { List < JSelection > list = jc . getSelections ( ) ; for ( JSelection js : list ) { if ( testSelection ( jc , js , dobj ) == false ) { return false ; } } return true ; }
selections are logically and - ed together . at least for now .
