RoboJDETM v2.0

java.lang
Class Long

java.lang.Object
  extended by java.lang.Long

public class Long
extends Object

Class to represent a long as an immutable object.


Field Summary
static long MAX_VALUE
          Maximum positive long.
static long MIN_VALUE
          Minimum (most negative) long.
 
Constructor Summary
Long(long value)
          Constructs a Long object.
 
Method Summary
 long longValue()
          Returns the long value of this object.
static String toHexString(long value)
          Returns a hexadecimal String representation of the specified long.
 String toString()
          Returns a String representation of this Long.
static String toString(long value)
          Returns a String representation of the specified long.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait
 

Field Detail

MAX_VALUE

public static final long MAX_VALUE
Maximum positive long.

See Also:
Constant Field Values

MIN_VALUE

public static final long MIN_VALUE
Minimum (most negative) long.

See Also:
Constant Field Values
Constructor Detail

Long

public Long(long value)
Constructs a Long object.

Parameters:
value - long value
Method Detail

longValue

public long longValue()
Returns the long value of this object.

Returns:
long value

toHexString

public static String toHexString(long value)
Returns a hexadecimal String representation of the specified long.

Parameters:
value - long value
Returns:
hexadecimal String representation of value

toString

public String toString()
Returns a String representation of this Long.

Overrides:
toString in class Object
Returns:
String representation of this Long

toString

public static String toString(long value)
Returns a String representation of the specified long.

Parameters:
value - long value
Returns:
String representation of value

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com