Here you can find the source of int2path(int v)
Parameter | Description |
---|---|
v | the v |
public final static String int2path(int v)
//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; } }