private IntVar getMovingVM ( ) { //VMs that are moving for ( int i = move . nextSetBit ( 0 ) ; i >= 0 ; i = move . nextSetBit ( i + 1 ) ) { if ( starts [ i ] != null && ! starts [ i ] . isInstantiated ( ) && oldPos [ i ] != hosts [ i ] . getValue ( ) ) { return starts [ i ] ; } } return null ; }
Get the start moment for a VM that moves