pascalabcnet/TreeConverter/SymbolTable/DSST/AreaArrayTable.cs
2015-06-01 21:15:17 +02:00

36 lines
633 B
C#

// Copyright (c) Ivan Bondarev, Stanislav Mihalkovich (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections;
namespace SymbolTable
{
/// <summary>
///
/// </summary>
public class AreaArrayTable
{
private ArrayList data;
public AreaArrayTable(int StartSize)
{
data=new ArrayList(StartSize);
}
public int Add(int[] table)
{
return data.Add(table);
}
public int[] this [int index]
{
get
{
return (data[index] as int[]);
}
set
{
data[index]=value;
}
}
}
}