public List < Notification > getByStep ( int step ) { List < Notification > found = new ArrayList < Notification > ( ) ; for ( Notification n : NotificationManager . notifications ) if ( n . getWhen ( ) == step ) { logger . fine ( "...found a match for getByStep query. With step: " + step ) ; found . add ( n ) ; } if ( found . size ( ) > 0 ) return found ; return null ; }
Search for notifications saved on the given step .