Java Long to IP Address long2ip(long ip)

Here you can find the source of long2ip(long ip)

Description

longip

License

Open Source License

Declaration

public static String long2ip(long ip) 

Method Source Code

//package com.java2s;

public class Main {
    public static String long2ip(long ip) {
        return (ip >>> 24 & 0xFF) + "." + (ip >>> 16 & 0xFF) + "." + (ip >>> 8 & 0xFF) + "." + (ip & 0xFF);
    }//from ww  w .  ja v a  2 s.c om
}

Related

  1. long2Ip(final long ip)
  2. long2ip(long address)
  3. long2ip(long ip)
  4. long2ip(long ip)
  5. long2ip(long ip)
  6. long2ip(long ipLong)
  7. long2IP(long ipLong)