@Test public void testNumeric() { assertEquals(0, StringLongMapping.toLong("0")); }
public static long toLong(String id) { return MOST_LONGS_PATTERN.matcher(id).matches() ? Long.parseLong(id) : RandomUtils.hash(id); }
StringLongMapping { public static long toLong(String id) { return MOST_LONGS_PATTERN.matcher(id).matches() ? Long.parseLong(id) : RandomUtils.hash(id); } }
StringLongMapping { public static long toLong(String id) { return MOST_LONGS_PATTERN.matcher(id).matches() ? Long.parseLong(id) : RandomUtils.hash(id); } StringLongMapping(); }
StringLongMapping { public static long toLong(String id) { return MOST_LONGS_PATTERN.matcher(id).matches() ? Long.parseLong(id) : RandomUtils.hash(id); } StringLongMapping(); static long toLong(String id); long add(String id); void addMapping(String id, long numericID); String toString(long numericID); LongObjectMap<String> getReverseMapping(); ReadWriteLock getLock(); }
StringLongMapping { public static long toLong(String id) { return MOST_LONGS_PATTERN.matcher(id).matches() ? Long.parseLong(id) : RandomUtils.hash(id); } StringLongMapping(); static long toLong(String id); long add(String id); void addMapping(String id, long numericID); String toString(long numericID); LongObjectMap<String> getReverseMapping(); ReadWriteLock getLock();  }