@Test public void parseGeneratorIdTest() { byte[] id = new byte[8]; id[6] = 0x0f; id[7] = (byte) (0x0f << 4); byte[] clone = id.clone(); assertThat(parseGeneratorId(id), is(255)); assertThat(id, is(clone)); }
public static int parseGeneratorId(byte[] id) { assertNotNullEightBytes(id); return parseGeneratorIdNoChecks(id); }
IDBuilder { public static int parseGeneratorId(byte[] id) { assertNotNullEightBytes(id); return parseGeneratorIdNoChecks(id); } }
IDBuilder { public static int parseGeneratorId(byte[] id) { assertNotNullEightBytes(id); return parseGeneratorIdNoChecks(id); }  }
IDBuilder { public static int parseGeneratorId(byte[] id) { assertNotNullEightBytes(id); return parseGeneratorIdNoChecks(id); }  static byte[] build(Blueprint blueprint); static Blueprint parse(byte[] id); static int parseSequenceId(byte[] id); static int parseGeneratorId(byte[] id); static int parseClusterId(byte[] id); static long parseTimestamp(byte[] id); }
IDBuilder { public static int parseGeneratorId(byte[] id) { assertNotNullEightBytes(id); return parseGeneratorIdNoChecks(id); }  static byte[] build(Blueprint blueprint); static Blueprint parse(byte[] id); static int parseSequenceId(byte[] id); static int parseGeneratorId(byte[] id); static int parseClusterId(byte[] id); static long parseTimestamp(byte[] id);  }