@Override protected void step(){
  do {
    while (--svcidx >= 0) {
      reg=(SvcReg)svcs.get(svcidx);
      if (reg.leaseExpiration > now && matchAttributes(tmpl,reg.item))       return;
    }
  }
 while (stepValue());
  reg=null;
}

@ Override protected void step ( ) { do { while ( -- svcidx >= 0 ) { reg = ( SvcReg ) svcs . get ( svcidx ) ; if ( reg . leaseExpiration > now && matchAttributes ( tmpl , reg . item ) ) return ; } } while ( stepValue ( ) ) ; reg = null ; }
set reg to the next matching element , or null if none
