Skip to content

Commit

Permalink
Adding SummaryGroup.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Pozhidaev committed Mar 21, 2019
1 parent 2dbbcde commit d1efc97
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/main/java/org/luwrain/app/mail/SummaryGroup.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

package org.luwrain.app.mail;

import org.luwrain.core.*;
import org.luwrain.pim.*;
import org.luwrain.pim.mail.*;

final class SummaryGroup
{
final String title;
final StoredMailMessage[] messages;

SummaryGroup(String title, StoredMailMessage[] messages)
{
NullCheck.notNull(title, "title");
NullCheck.notNullItems(messages, "messages");
this.title = title;
this.messages = messages;
}

@Override public String toString()
{
return title;
}

}

0 comments on commit d1efc97

Please sign in to comment.