joeq.Memory
Class Address

java.lang.Object
  extended by joeq.Memory.Address
Direct Known Subclasses:
CodeAddress, HeapAddress, StackAddress

public abstract class Address
extends Object

Version:
$Id: Address.java 1456 2004-03-09 22:01:46Z jwhaley $
Author:
John Whaley

Field Summary
static jq_Class _class
           
 
Constructor Summary
Address()
           
 
Method Summary
abstract  Address align(int shift)
           
static int alignInt(int val, int shift)
           
protected  Object clone()
           
abstract  int difference(Address v)
           
 boolean equals(Object arg0)
           
 int hashCode()
           
abstract  boolean isNull()
           
abstract  Address offset(int offset)
           
abstract  Address peek()
           
abstract  byte peek1()
           
abstract  short peek2()
           
abstract  int peek4()
           
abstract  long peek8()
           
abstract  void poke(Address v)
           
abstract  void poke1(byte v)
           
abstract  void poke2(short v)
           
abstract  void poke4(int v)
           
abstract  void poke8(long v)
           
abstract  String stringRep()
           
abstract  int to32BitValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_class

public static final jq_Class _class
Constructor Detail

Address

public Address()
Method Detail

peek

public abstract Address peek()

peek1

public abstract byte peek1()

peek2

public abstract short peek2()

peek4

public abstract int peek4()

peek8

public abstract long peek8()

poke

public abstract void poke(Address v)

poke1

public abstract void poke1(byte v)

poke2

public abstract void poke2(short v)

poke4

public abstract void poke4(int v)

poke8

public abstract void poke8(long v)

offset

public abstract Address offset(int offset)

align

public abstract Address align(int shift)

difference

public abstract int difference(Address v)

isNull

public abstract boolean isNull()

to32BitValue

public abstract int to32BitValue()

stringRep

public abstract String stringRep()

alignInt

public static final int alignInt(int val,
                                 int shift)

clone

protected final Object clone()
                      throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

public final boolean equals(Object arg0)
Overrides:
equals in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2001-2008 John Whaley. All Rights Reserved.