Here you can find the source of hashCodeToString(long code)
Parameter | Description |
---|---|
code | hashcode. |
public static String hashCodeToString(long code)
//package com.java2s; //License from project: Apache License public class Main { /**/* w w w . j a va 2s.c o m*/ * @param code * hashcode. * @return String version of hashcode. */ public static String hashCodeToString(long code) { if (code < 0) { return "0" + (code * -1); } else { return "" + code; } } }