frysk.debuginfo
Class PieceLocation

java.lang.Object
  extended by frysk.value.Location
      extended by frysk.debuginfo.PieceLocation

public class PieceLocation
extends Location


Constructor Summary
PieceLocation(List pieces)
           
 
Method Summary
static Location createSimpleLoc(long address, long size, ByteBuffer buf)
          Creates a simple single piece memory location.
 long getAddress()
          Returns the address only if value is in a _contiguous memory_ location.
 List getPieces()
           
 long length()
          Returns the number of bytes in location.
 void toPrint(PrintWriter writer)
          Print this Location.
 
Methods inherited from class frysk.value.Location
get, put, toByteArray, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PieceLocation

public PieceLocation(List pieces)
Method Detail

getPieces

public List getPieces()

toPrint

public void toPrint(PrintWriter writer)
Description copied from class: Location
Print this Location.

Specified by:
toPrint in class Location

getAddress

public long getAddress()
Returns the address only if value is in a _contiguous memory_ location.

Specified by:
getAddress in class Location

createSimpleLoc

public static Location createSimpleLoc(long address,
                                       long size,
                                       ByteBuffer buf)
Creates a simple single piece memory location.


length

public long length()
Returns the number of bytes in location.

Specified by:
length in class Location