private List < String > getEchoMessagesFromReturnValue ( ) { List < String > returnListing = new ArrayList ( ) ; if ( this . returnValue == null ) { return returnListing ; } Iterator < T > iterForReturnVal = this . returnValue . iterator ( ) ; //Only add where the ECHO message is set... while ( iterForReturnVal . hasNext ( ) ) { T returnVal = iterForReturnVal . next ( ) ; if ( returnVal . getEcho ( ) == null ) { continue ; } returnListing . add ( returnVal . getEcho ( ) ) ; } return returnListing ; }
Gets a list of echo messages of the current return values .