From 8150d4a3b6ee70a0c4dca381b5bd3ddf6ffcb792 Mon Sep 17 00:00:00 2001 From: "J. Treadwell" Date: Mon, 9 Mar 2009 14:54:31 -0600 Subject: [PATCH] added toHexString() to java.lang.Long --- classpath/java/lang/Long.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classpath/java/lang/Long.java b/classpath/java/lang/Long.java index e1445ec5d9..f5ff156873 100644 --- a/classpath/java/lang/Long.java +++ b/classpath/java/lang/Long.java @@ -90,6 +90,10 @@ public final class Long extends Number implements Comparable { return toString(v, 10); } + public static String toHexString(long v) { + return toString(v, 16); + } + public byte byteValue() { return (byte) value; }