org.bridj
Class CLong
java.lang.Object
java.lang.Number
org.bridj.CLong
- All Implemented Interfaces:
- Serializable
public final class CLong
- extends Number
Wraps a value which size is the same as the 'long' C type (32 bits on a 32 bits platform, 64 bits on a 64 bits platform with GCC and still 32 bits with MSVC++ on 64 bits platforms)
- Author:
- Olivier
- See Also:
- Serialized Form
Field Summary |
static int |
SIZE
|
protected long |
value
|
Constructor Summary |
CLong(long value)
|
SIZE
public static final int SIZE
value
protected final long value
CLong
public CLong(long value)
valueOf
public static CLong valueOf(long value)
safeIntCast
public static int safeIntCast(long value)
intValue
public int intValue()
- Specified by:
intValue
in class Number
longValue
public long longValue()
- Specified by:
longValue
in class Number
floatValue
public float floatValue()
- Specified by:
floatValue
in class Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in class Number
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012. All Rights Reserved.