Class IntCell

java.lang.Object
   |
   +----IntCell

public class IntCell
extends Object
A class for simulating an integer memory cell


Constructor Index

 o IntCell()

Method Index

 o read()
Get the stored value.
 o write(int)
Store a value

Constructors

 o IntCell
  public IntCell()

Methods

 o read
  public int read()
Get the stored value.

Returns:
the stored value.
 o write
  public void write(int x)
Store a value

Parameters:
x - the number to store.