### Question:
GUIDGenerator { public static long createLongTypeGUIDBySvrId(int svrId) { if (svrId >= 1024 || svrId < 0) { throw new IllegalArgumentException("svrId >= 1024 || svrId < 0"); } return (System.currentTimeMillis() << 22) | (svrId << 12) | cycleSequence(SVR_ID_TYPE_GUID_MAX_SEQUENCE); }  static String createStringTypeGUID(); static long createLongTypeGUID(); static long createLongTypeGUID(int ipDigits); static long createLongTypeGUIDBySvrId(int svrId);  }### Answer:
@Test public void testCreateLongTypeGUIDBySvrId() throws Exception { for (int i = 0; i < 10; i++) { System.out.println(Long.toHexString(GUIDGenerator.createLongTypeGUIDBySvrId(10))); System.out.println(Long.toHexString(GUIDGenerator.createLongTypeGUIDBySvrId(23))); } }