@Test public void verifySame() { assertEquals(SortSkew.getCode("123"), SortSkew.getCode("123")); assertNotEquals(SortSkew.getCode("123"), SortSkew.getCode("321")); }
public static String getCode(String keypart) { int hashCode = murmur3_32().hashString(keypart, UTF_8).asInt(); return Strings.padStart(Integer.toHexString(hashCode), SORTSKEW_LENGTH, '0'); }
SortSkew { public static String getCode(String keypart) { int hashCode = murmur3_32().hashString(keypart, UTF_8).asInt(); return Strings.padStart(Integer.toHexString(hashCode), SORTSKEW_LENGTH, '0'); } }
SortSkew { public static String getCode(String keypart) { int hashCode = murmur3_32().hashString(keypart, UTF_8).asInt(); return Strings.padStart(Integer.toHexString(hashCode), SORTSKEW_LENGTH, '0'); }  }
SortSkew { public static String getCode(String keypart) { int hashCode = murmur3_32().hashString(keypart, UTF_8).asInt(); return Strings.padStart(Integer.toHexString(hashCode), SORTSKEW_LENGTH, '0'); }  static String getCode(String keypart); }
SortSkew { public static String getCode(String keypart) { int hashCode = murmur3_32().hashString(keypart, UTF_8).asInt(); return Strings.padStart(Integer.toHexString(hashCode), SORTSKEW_LENGTH, '0'); }  static String getCode(String keypart); static final int SORTSKEW_LENGTH; }