public int FindIndex(int startIndex,int count,Predicate<T> match)

{

  //判断起始索引是否大于总长度

  if(startIndex>this._size)

  {

    return -1;

  }

  if((count<0) || (startIndex > (this.size-count)))

  {

    return -1;

  }

  if(match==null)

  {

    return -1;

  }

  int num=startIndex+count;

  for(int i=startIndex; i<num; i++)

  {

    if(match(this._items[i]))

    {

      return i;

    }

  }

    return -1;

}