Package java.lang

Examples of java.lang.Number$__Digits



public class TO_36 extends EvalFunc<String> {
    public String exec(Tuple input) throws IOException {
        Object obj = input.get(0);
        Number number;

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

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

TOP

Related Classes of java.lang.Number$__Digits

Copyright © 2018 www.massapicom. 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.