InetAddress address = InetAddress.getByName("127.0.0.1");
            System.out.println(address);
            int h = address.hashCode();
			System.out.println(h);
            byte[] bytes = new byte[]{(byte) (h >> 24), (byte) (h >> 16), (byte) (h >> 8), (byte) h};
            InetAddress address2 = InetAddress.getByAddress(bytes);
            System.out.println(address2);

  

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-12-22
  • 2021-12-06
  • 2021-08-29
  • 2022-12-23
  • 2021-07-29
  • 2021-08-03
猜你喜欢
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2021-08-12
  • 2021-07-02
相关资源
相似解决方案