public SimpleMailboxACL(Map.Entry<MailboxACLEntryKey,MailboxACLRights>[] entries){
  if (entries != null) {
    Map<MailboxACLEntryKey,MailboxACLRights> m=new HashMap<MailboxACLEntryKey,MailboxACLRights>(entries.length + entries.length / 2 + 1);
    for (    Entry<MailboxACLEntryKey,MailboxACLRights> en : entries) {
      m.put(en.getKey(),en.getValue());
    }
    this.entries=Collections.unmodifiableMap(m);
  }
 else {
    this.entries=Collections.emptyMap();
  }
}

public SimpleMailboxACL ( Map . Entry < MailboxACLEntryKey , MailboxACLRights > [ ] entries ) { if ( entries != null ) { Map < MailboxACLEntryKey , MailboxACLRights > m = new HashMap < MailboxACLEntryKey , MailboxACLRights > ( entries . length + entries . length / 2 + 1 ) ; for ( Entry < MailboxACLEntryKey , MailboxACLRights > en : entries ) { m . put ( en . getKey ( ) , en . getValue ( ) ) ; } this . entries = Collections . unmodifiableMap ( m ) ; } else { this . entries = Collections . emptyMap ( ) ; } }
creates a new instance of simplemailboxacl from the given array of entries .
