SunSPOT API V3.0


Uses of Class
com.sun.squawk.Offset

Packages that use Offset
com.sun.squawk Provides classes for low level interactions with the Squawk VM. 
 

Uses of Offset in com.sun.squawk
 

Methods in com.sun.squawk that return Offset
 Offset Offset.add(int delta)
          Adds a value to this offset and return the resulting offset.
 Offset Offset.bytesToWords()
          Scales this offset which currently expresses an offset in bytes to express the same offset in words.
 Offset Address.diff(Address address2)
          Calculates the offset between this address an another address.
static Offset Offset.fromPrimitive(int value)
          Casts an offset expressed as the appropriate Java primitive type for the platform (i.e. int or long) into a value of type Offset.
 Offset Offset.sub(int delta)
          Subtracts a value from this offset and return the resulting offset.
 Offset UWord.toOffset()
          Casts a value of type UWord into an Offset.
 Offset Offset.wordsToBytes()
          Scales this offset which currently expresses an offset in words to express the same offset in bytes.
static Offset Offset.zero()
          Gets the canonical Offset representation of null.
 

Methods in com.sun.squawk with parameters of type Offset
 Address Address.addOffset(Offset offset)
          Adds a 32 or 64 bit offset to this address and return the resulting address.
 boolean Offset.eq(Offset offset2)
          Determines if this offset is equal to a given offset.
 boolean Offset.ge(Offset offset2)
          Determines if this offset is greater than or equal to a given offset.
 boolean Offset.gt(Offset offset2)
          Determines if this offset is greater than a given offset.
 boolean Offset.le(Offset offset2)
          Determines if this offset is less than or equal to a given offset.
 boolean Offset.lt(Offset offset2)
          Determines if this offset is less than a given offset.
 boolean Offset.ne(Offset offset2)
          Determines if this offset is not equal to a given offset.
static void VM.printOffset(Offset val)
          Prints an offset to the VM stream.
 Address Address.subOffset(Offset offset)
          Subtracts a 32 or 64 bit offset to this address and return the resulting address.
 


SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.