J avolution v5.4 (J2SE 1.6+)

javolution.io
Class Struct.Reference64<S extends Struct>

java.lang.Object
  extended by javolution.io.Struct.Member
      extended by javolution.io.Struct.Reference64<S>
Enclosing class:
Struct

public class Struct.Reference64<S extends Struct>
extends Struct.Member

This class represents a 64 bits reference (C/C++ pointer) to a Struct object (other types may require a Struct wrapper).

Note: For references which can be externally modified, an application may want to check the up-to-date status of the reference. For out-of-date references, a new Struct can be created at the address specified by value() (using JNI) and then set to the reference.


Constructor Summary
Struct.Reference64()
           
 
Method Summary
 Struct get()
           
 boolean isUpToDate()
           
 void set(S struct)
           
 long value()
           
 
Methods inherited from class javolution.io.Struct.Member
bitOffset, bitSize, struct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct.Reference64

public Struct.Reference64()
Method Detail

set

public void set(S struct)

get

public Struct get()

value

public long value()

isUpToDate

public boolean isUpToDate()

J avolution v5.4 (J2SE 1.6+)

Copyright © 2005 - 2009 Javolution.