@Test public void multipleWithQuotedLabelExplicitDelimiter() { final String input = "\"Last, First\" <first.last@example.com>, Test <test@example.com>"; final Collection<EmailAddressToken> expected = ImmutableList.of( new EmailAddressToken( 0, 38, EmailAddress.builder().email("first.last@example.com").name("Last, First").build() ) ); final Collection<EmailAddressToken> actual = EmailAddressTokenizer.tokenize(input, true); Assert.assertArrayEquals( expected.toArray(new EmailAddressToken[0]), actual.toArray(new EmailAddressToken[0]) ); }
public static Collection<EmailAddressToken> tokenize(final CharSequence cs) { return tokenize(cs, false); }
EmailAddressTokenizer { public static Collection<EmailAddressToken> tokenize(final CharSequence cs) { return tokenize(cs, false); } }
EmailAddressTokenizer { public static Collection<EmailAddressToken> tokenize(final CharSequence cs) { return tokenize(cs, false); }  }
EmailAddressTokenizer { public static Collection<EmailAddressToken> tokenize(final CharSequence cs) { return tokenize(cs, false); }  static Collection<EmailAddressToken> tokenize(final CharSequence cs); static Collection<EmailAddressToken> tokenize(final CharSequence cs, final boolean requireExplicitDelimiter); }
EmailAddressTokenizer { public static Collection<EmailAddressToken> tokenize(final CharSequence cs) { return tokenize(cs, false); }  static Collection<EmailAddressToken> tokenize(final CharSequence cs); static Collection<EmailAddressToken> tokenize(final CharSequence cs, final boolean requireExplicitDelimiter);  }