Here you can find the source of longToBase36(long in)
Parameter | Description |
---|---|
in | long to be converted |
public static String longToBase36(long in)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w . j a v a 2 s .c o m*/ * Convert a long to a lowercase base36 string * * @param in long to be converted * @return Lowercase id corresponding to the in long */ public static String longToBase36(long in) { return Long.toString(in, 36).toLowerCase(); } }