public ImmutableDoubleStack pop()
{
DoubleArrayList newDelegate = DoubleArrayList.newList(this.delegate);
newDelegate.removeAtIndex(this.delegate.size() - 1);
return DoubleStacks.immutable.with(newDelegate.toArray());
}
public ImmutableDoubleStack pop(int count)
{
this.checkNegativeCount(count);