#include "Table.h"
Table::Table(int size)
// create a table to hold at most 'size' entries.
{
S = size;
lock = new Lock("Tablelock");
L = new int[size];
value = new int[si
package Symbol;
class Binder {
Object value;
Symbol prevtop;
Binder tail;
Binder(Object v, Symbol p, Binder t) {
value=v; prevtop=p; tail=t;
}
}
/**
* The Table class is similar to java.
USE ElecTravelCom
CREATE TABLE students(
studentNumber INT NOT NULL,
studentName VARCHAR(32) NOT NULL,
gender CHAR(2) NULL,
birthday DATETIME NULL,
birthplace VARCHAR(32) NULL,
telphone_no VA
/*++
Copyright (c) AFE(Active-Free-Elegance)
Module Name:
table.h
Abstract:
the table class:
1. the table envirement configuration
2. set and clear the food(good ones and bad o
package com.javapatterns.flyweight.coffeeshop;
public class Table
{
private int number;
public Table(int number)
{
this.number = number;
}
public void setNumb