public List < String > toDisplayList ( final String separator , ExhibitorArguments . LogDirection logDirection ) { Iterable < String > transformed = Iterables . transform ( queue , new Function < Message , String > ( ) { public String apply ( Message message ) { return message . date + separator + message . type + separator + message . text ; } } ) ; ImmutableList < String > list = ImmutableList . copyOf ( transformed ) ; return ( logDirection == ExhibitorArguments . LogDirection . NATURAL ) ? list : Lists . reverse ( list ) ; }
Return the current window lines