private static List < Integer > allocateOffsets ( List < List < Integer > > offsetsStorage ) { if ( offsetsStorage . isEmpty ( ) ) { return new ArrayList < Integer > ( ) ; } else { return ( offsetsStorage . remove ( 0 ) ) ; } }
Allocate an offsets list .