/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang; public final class Long extends Number implements Comparable { public static final long MIN_VALUE = -9223372036854775808L; public static final long MAX_VALUE = 9223372036854775807L; public static final Class TYPE = long.class; public static final int SIZE = 64; public Long(long value) { } public Long(String s) throws NumberFormatException { } native public static String toString(long i, int radix); native public static String toHexString(long i); native public static String toOctalString(long i); native public static String toBinaryString(long i); native public static String toString(long i); native public static long parseLong(String s, int radix) throws NumberFormatException; native public static long parseLong(String s) throws NumberFormatException; native public static Long valueOf(String s, int radix) throws NumberFormatException; native public static Long valueOf(String s) throws NumberFormatException; native public static Long valueOf(long l); native public static Long decode(String nm) throws NumberFormatException; native public byte byteValue(); native public short shortValue(); native public int intValue(); native public long longValue(); native public float floatValue(); native public double doubleValue(); native public String toString(); native public int hashCode(); native public boolean equals(Object obj); native public static Long getLong(String nm); native public static Long getLong(String nm, long val); native public static Long getLong(String nm, Long val); native public int compareTo(Long anotherLong); native public static long highestOneBit(long i); native public static long lowestOneBit(long i); native public static int numberOfLeadingZeros(long i); native public static int numberOfTrailingZeros(long i); native public static int bitCount(long i); native public static long rotateLeft(long i, int distance); native public static long rotateRight(long i, int distance); native public static long reverse(long i); native public static int signum(long i); native public static long reverseBytes(long i); }