}
if (!(otherList instanceof DoubleList))
{
return false;
}
DoubleList list = (DoubleList) otherList;
if (this.items.length != list.size())
{
return false;
}
for (int i = 0; i < this.items.length; i++)
{
if (Double.compare(this.items[i], list.get(i)) != 0)
{
return false;
}
}
return true;