@Test public void testIsbn13Format() { Assert.assertNull("isbn format should be null", IsbnUtil.isbn13Format(null)); for (final Entry<String, String> entry : IsbnUtilTestCases.getIsbn13FormatCases().entrySet()) { Assert.assertEquals("isbn format failed", entry.getKey(), IsbnUtil.isbn13Format(entry.getValue())); } }
public static String isbn13Format(final String pstring) { if (pstring == null) { return null; } final ValueWithPos<String> formatedValue = isbn13FormatWithPos(new ValueWithPos<>(pstring, -1)); return formatedValue.getValue(); }
IsbnUtil { public static String isbn13Format(final String pstring) { if (pstring == null) { return null; } final ValueWithPos<String> formatedValue = isbn13FormatWithPos(new ValueWithPos<>(pstring, -1)); return formatedValue.getValue(); } }
IsbnUtil { public static String isbn13Format(final String pstring) { if (pstring == null) { return null; } final ValueWithPos<String> formatedValue = isbn13FormatWithPos(new ValueWithPos<>(pstring, -1)); return formatedValue.getValue(); }  }
IsbnUtil { public static String isbn13Format(final String pstring) { if (pstring == null) { return null; } final ValueWithPos<String> formatedValue = isbn13FormatWithPos(new ValueWithPos<>(pstring, -1)); return formatedValue.getValue(); }  static ValueWithPos<String> isbnFormatWithPos(final ValueWithPos<String> pentry); static String isbnFormat(final String pstring); static ValueWithPos<String> isbn10FormatWithPos(final ValueWithPos<String> pentry); static String isbn10Format(final String pstring); static ValueWithPos<String> isbn13FormatWithPos(final ValueWithPos<String> pentry); static String isbn13Format(final String pstring); static String isbnCompress(final String pstring); }
IsbnUtil { public static String isbn13Format(final String pstring) { if (pstring == null) { return null; } final ValueWithPos<String> formatedValue = isbn13FormatWithPos(new ValueWithPos<>(pstring, -1)); return formatedValue.getValue(); }  static ValueWithPos<String> isbnFormatWithPos(final ValueWithPos<String> pentry); static String isbnFormat(final String pstring); static ValueWithPos<String> isbn10FormatWithPos(final ValueWithPos<String> pentry); static String isbn10Format(final String pstring); static ValueWithPos<String> isbn13FormatWithPos(final ValueWithPos<String> pentry); static String isbn13Format(final String pstring); static String isbnCompress(final String pstring); static final char SEPARATOR; }