Java Integer Array Convert To intArrayToIp(final int[] array, final int offset)

Here you can find the source of intArrayToIp(final int[] array, final int offset)

Description

int Array To Ip

License

Apache License

Declaration

public static String intArrayToIp(final int[] array, final int offset) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String intArrayToIp(final int[] array, final int offset) {
        String returnValue = String.valueOf(array[offset]) + "." + String.valueOf(array[offset + 1]) + "."
                + String.valueOf(array[offset + 2]) + "." + String.valueOf(array[offset + 3]);
        return returnValue;
    }/*from  ww  w .j  a  v a2s .  c o  m*/

    public static String intArrayToIp(final int[] array) {
        return intArrayToIp(array, 0);
    }
}

Related

  1. intArray2Json(int[] array)
  2. intArrayToAddressString(int vals[])
  3. intArrayToBits(int[] ina, int min, int max, int numBits)
  4. intArrayToCharArray(int[][] intArray)
  5. intArrayToFloatArray(int[] intArray)
  6. intsToByteHighAndLow(int highValue, int lowValue)
  7. intsToBytes(byte[] dst, int dst_offset, int[] src, int src_offset, int length)
  8. intsToBytes(int[] a, int aoffset, int len, byte[] b, int boffset)
  9. intsToBytes(int[] data)