@Test public void nameHide() { Assert.assertEquals("赵**", SensitiveUtils.nameHide("赵倩")); Assert.assertEquals("赵**", SensitiveUtils.nameHide("赵倩倩")); }
public String nameHide(final String data) { return customizeHide(data, 1, 0, 2); }
SensitiveUtils { public String nameHide(final String data) { return customizeHide(data, 1, 0, 2); } }
SensitiveUtils { public String nameHide(final String data) { return customizeHide(data, 1, 0, 2); }  }
SensitiveUtils { public String nameHide(final String data) { return customizeHide(data, 1, 0, 2); }  String nameHide(final String data); String idCardNoHide(String data); String bankCardNoHide(String data); String cellphoneHide(String data); String emailHide(String data); String defaultHide(String data); String customizeHide(String data, int front, int tail, int hidden); }
SensitiveUtils { public String nameHide(final String data) { return customizeHide(data, 1, 0, 2); }  String nameHide(final String data); String idCardNoHide(String data); String bankCardNoHide(String data); String cellphoneHide(String data); String emailHide(String data); String defaultHide(String data); String customizeHide(String data, int front, int tail, int hidden);  }