All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class diskmgr.Page

java.lang.Object
   |
   +----diskmgr.Page

public class Page
extends Object
implements GlobalConst
class Page


Variable Index

 o data
protected field: An array of bytes (for the page).

Constructor Index

 o Page()
default constructor
 o Page(byte[])
Constructor of class Page

Method Index

 o getpage()
return the data byte array
 o setpage(byte[])
set the page with the given byte array

Variables

 o data
 protected byte data[]
protected field: An array of bytes (for the page).

Constructors

 o Page
 public Page()
default constructor

 o Page
 public Page(byte apage[])
Constructor of class Page

Methods

 o getpage
 public byte[] getpage()
return the data byte array

Returns:
the byte array of the page
 o setpage
 public void setpage(byte array[])
set the page with the given byte array

Parameters:
array - a byte array of page size

All Packages  Class Hierarchy  This Package  Previous  Next  Index