public List < Construction > getNextConstructions ( ) { List < Construction > constructions = new ArrayList < Construction > ( ) ; for ( T item : kernelItems ) { Construction element = item . getNext ( ) ; if ( element != null ) { constructions . add ( element ) ; } } for ( T item : nonKernelItems ) { Construction element = item . getNext ( ) ; if ( element != null ) { constructions . add ( element ) ; } } return constructions ; }
This method returns all constructions which are next to be expected to be found .