publicclass EMailStore{
private List<customemail> emails = new List<customemails>();
/* more Fancye code */// anonymous classes are often written at the end of the class
// to make sure the developer figures out that this is another class (I guess)
publicclass CustomMail{// anonymous Type for an Email with a read status
public EMail email;
publicboolean isRead=false;
CustomMail(Email email){
this.email = email;
}
}
}
</customemails></customemail>