Package java.lang

Examples of java.lang.Number.longValue()


            if (s.endsWith("d")) {
                n = n.doubleValue();
            } else if (s.endsWith("f")) {
                n = n.floatValue();
            } else if (s.endsWith("l")) {
                n = n.longValue();
            } else if (s.endsWith("i")) {
                n = n.intValue();
            }
        } else {
            n = matchNumber(s);
View Full Code Here


            number = (Number)obj;
        } else {
            number = Long.decode(obj.toString());
        }

        return Long.toString(number.longValue(), 36);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.