return Double.compare(this.element1, element) == 0 ? DoubleLists.immutable.with() : this;
}
public ImmutableDoubleList newWithAll(DoubleIterable elements)
{
DoubleArrayList arrayList = DoubleArrayList.newListWith(this.element1);
arrayList.addAll(elements);
return arrayList.toImmutable();
}