spajus/gmail4j — pull request #14 by strusewych-trulia (2014-02-07 20:22:05+00:00)
Title: Added GmailMessageList for chained filtering

The new class wraps the List that is normally returned so that search criteria can be chained together with a clean syntax:

getMessagesBy(EmailSearchStrategy.KEYWORD,"foo")
.filterMessagesBy(EmailSearchStrategy.KEYWORD,"bar")
.filterMessagesBy(EmailSearchStrategy.SUBJECT,"foobar")