public virtual int count{get{return this.array.count;}}
//将成员数组变成用1为基数表达的形式
public virtual object item(int _i)
{
if(_i>=this.array.capacity)
throw new exception("my:out of index");//不能出界
return this.array[_i-1];
}
#region ipriorityqueue 成员
//先将空洞放在数组的下一个位置上,也就是i(注:基数是1),然后和[i/2]位置上的数比较,如果小于则将空洞上移到[i/2]位置,而原先[i/2]位置上的对象则移到[i]上,否则就将空洞变为_obj----如此递归