📅  最后修改于: 2022-03-11 14:52:47.187000             🧑  作者: Mango
private void checkIndex(int index, int first, int last)
{
if (index > last || index < first)
{
throw new ArrayIndexOutOfBoundsException();
}
}