return (double) sortedArray[middleIndex];
}
public MutableDoubleList toList()
{
MutableDoubleList result = new DoubleArrayList(this.size());
for (int i = 0; i < this.keys.length; i++)
{
if (isNonSentinel(this.keys[i]))
{
result.add(this.values[i]);
}
}
return result;
}