Java Integer to int2path(int v)

Here you can find the source of int2path(int v)

Description

Int 2 path.

License

Apache License

Parameter

Parameter Description
v the v

Return

the string

Declaration

public final static String int2path(int v) 

Method Source Code

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

public class Main {
    /**/*from w w w. j  av  a2s  .c  om*/
     * Int 2 path.
     *
     * @param v the v
     * @return the string
     */
    public final static String int2path(int v) {
        String id = v + "";
        String str = "";
        for (int i = 0; i < id.length(); i++) {
            str += id.charAt(i) + "/";
        }
        return str;
    }
}

Related

  1. int2double(int[] ia)
  2. int2EyptStr(int num)
  3. int2float(Integer integer)
  4. int2Integer(int[] array)
  5. int2minBeb(final int x)
  6. int2rgb(final int color)
  7. Int2Short(int i)
  8. int2sortableStr(int val)
  9. int2TwoChars(int i)