@Test void isExpressionMatchShouldReturnTrueWhenName() { assertThat(new ExactName(NAME).isExpressionMatch(NAME)) .isTrue(); }
@Override public boolean isExpressionMatch(String mailboxName) { Preconditions.checkNotNull(mailboxName); return name.equals(mailboxName); }
ExactName implements MailboxNameExpression { @Override public boolean isExpressionMatch(String mailboxName) { Preconditions.checkNotNull(mailboxName); return name.equals(mailboxName); } }
ExactName implements MailboxNameExpression { @Override public boolean isExpressionMatch(String mailboxName) { Preconditions.checkNotNull(mailboxName); return name.equals(mailboxName); } ExactName(String name); }
ExactName implements MailboxNameExpression { @Override public boolean isExpressionMatch(String mailboxName) { Preconditions.checkNotNull(mailboxName); return name.equals(mailboxName); } ExactName(String name); @Override boolean isExpressionMatch(String mailboxName); @Override String getCombinedName(); @Override boolean isWild(); @Override MailboxNameExpression includeChildren(); @Override final boolean equals(Object o); @Override final int hashCode(); }
ExactName implements MailboxNameExpression { @Override public boolean isExpressionMatch(String mailboxName) { Preconditions.checkNotNull(mailboxName); return name.equals(mailboxName); } ExactName(String name); @Override boolean isExpressionMatch(String mailboxName); @Override String getCombinedName(); @Override boolean isWild(); @Override MailboxNameExpression includeChildren(); @Override final boolean equals(Object o); @Override final int hashCode();  }