java.lang.Object
java.lang.Number
java.lang.Long
- All Implemented Interfaces:
- Serializable, Comparable<Long>
- See Also:
- Top Examples, Source Code,
numberOfTrailingZeros
, highestOneBit
public static int bitCount(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public byte byteValue()
- See Also:
- Number
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int compareTo(Long anotherLong)
- See Also:
- Comparable, compareTo
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int compareTo(Object o)
- See Also:
Comparable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static Long decode(String nm)
throws NumberFormatException
- See Also:
parseLong(String, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public double doubleValue()
- See Also:
- Number
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean equals(Object obj)
- See Also:
Hashtable
, Object.hashCode()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float floatValue()
- See Also:
- Number
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static Long getLong(String nm)
- See Also:
System.getProperty(java.lang.String, java.lang.String)
, System.getProperty(java.lang.String)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static Long getLong(String nm,
Long val)
- See Also:
decode(java.lang.String)
, System.getProperty(java.lang.String, java.lang.String)
, System.getProperty(java.lang.String)
, valueOf(java.lang.String, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static Long getLong(String nm,
long val)
- See Also:
System.getProperty(java.lang.String, java.lang.String)
, System.getProperty(java.lang.String)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int hashCode()
- See Also:
Hashtable
, Object.equals(java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static long highestOneBit(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int intValue()
- See Also:
- Number
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Long(String s)
throws NumberFormatException
- See Also:
parseLong(java.lang.String, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Long(long value)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[1389]Convert long to byte
By kalyanicmpe { at } yahoo { dot } com on 2005/04/13 14:24:11 Rate
byte [ ] buf = new byte [ 4096 ] ;
long seq;
Long seq = new Long ( seq ) ;
byte [ 0 ] = seq.byteValue ( ) ;
long ack;
Long ack = new Long ( ack ) ;
byte [ 0 ] = ack.byteValue ( ) ;
public long longValue()
- See Also:
- Number
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static long lowestOneBit(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final long MAX_VALUE
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final long MIN_VALUE
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static int numberOfLeadingZeros(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static int numberOfTrailingZeros(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static long parseLong(String s)
throws NumberFormatException
- See Also:
-
parseLong(java.lang.String, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[464]Convert string to long
By Anonymous on 2003/11/14 11:16:08 Rate
long see = parseLong ( args [ 0 ] ) ;
public static long parseLong(String s,
int radix)
throws NumberFormatException
- See Also:
-
Character.MAX_RADIX
, Character.MIN_RADIX
, Character.digit(char, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static long reverse(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static long reverseBytes(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static long rotateLeft(long i,
int distance)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static long rotateRight(long i,
int distance)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public short shortValue()
- See Also:
- Number
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static int signum(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int SIZE
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static String toBinaryString(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static String toHexString(long i)
- See Also:
String.toUpperCase()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static String toOctalString(long i)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String toString()
- See Also:
- Object,
toString(long)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static String toString(long i)
- See Also:
toString(long, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static String toString(long i,
int radix)
- See Also:
Character.MIN_RADIX
, Character.MAX_RADIX
, String.toUpperCase()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final Class<Long> TYPE
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static Long valueOf(String s)
throws NumberFormatException
- See Also:
-
parseLong(java.lang.String)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static Long valueOf(String s,
int radix)
throws NumberFormatException
- See Also:
-
parseLong(java.lang.String, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static Long valueOf(long l)
- See Also:
Long(long)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples