org.cinvoke
Class NativeLongLong

java.lang.Object
  extended byorg.cinvoke.NativeLongLong
All Implemented Interfaces:
java.io.Serializable

public final class NativeLongLong
extends java.lang.Object
implements java.io.Serializable

Used to send or read values of the C type 'long long', if it is available. The size of integer values in C can vary with the current native platform. Declaring native interfaces with this type will always marshal the corresponding values as the correct size.

See Also:
Serialized Form

Constructor Summary
NativeLongLong(long val)
          Initializes a NativeLongLong instance.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 long longValue()
          Returns a marshaled value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NativeLongLong

public NativeLongLong(long val)
Initializes a NativeLongLong instance.

Parameters:
val - The value to marshal. Note that not all the bits in the long value are guaranteed to be used by the called platform.
Method Detail

longValue

public long longValue()
Returns a marshaled value.

Returns:
The marshaled value. Note that not all the bits in the long value are guaranteed to be used by the called platform.

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()