@Test void newInstanceShouldReturnRightKeyValue() { MailboxAnnotationKey annotationKey = new MailboxAnnotationKey("/private/comment"); assertThat(annotationKey.asString()).isEqualTo("/private/comment"); }
public String asString() { return key.toLowerCase(Locale.US); }
MailboxAnnotationKey { public String asString() { return key.toLowerCase(Locale.US); } }
MailboxAnnotationKey { public String asString() { return key.toLowerCase(Locale.US); } MailboxAnnotationKey(String key); }
MailboxAnnotationKey { public String asString() { return key.toLowerCase(Locale.US); } MailboxAnnotationKey(String key); int countComponents(); String asString(); boolean isParentOrIsEqual(MailboxAnnotationKey key); boolean isAncestorOrIsEqual(MailboxAnnotationKey key); @Override boolean equals(Object obj); @Override int hashCode(); }
MailboxAnnotationKey { public String asString() { return key.toLowerCase(Locale.US); } MailboxAnnotationKey(String key); int countComponents(); String asString(); boolean isParentOrIsEqual(MailboxAnnotationKey key); boolean isAncestorOrIsEqual(MailboxAnnotationKey key); @Override boolean equals(Object obj); @Override int hashCode(); static final String SLASH_CHARACTER; static final String TWO_SLASH_CHARACTER; static final int MINIMUM_COMPONENTS; static final int MINIMUM_COMPONENTS_OF_VENDOR; static final int SECOND_COMPONENT_INDEX; static final String VENDOR_COMPONENT; }