public int compareSameType(Object other) {assert exists || 0.0D == value;MutableValueDouble b = (MutableValueDouble)other;int c = Double.compare(value, b.value);if (c != 0) return c;if (exists == b.exists) return 0;return exists ? 1 : -1;}

public override int CompareSameType(object other){MutableValueDouble b = (MutableValueDouble)other;int c = Value.CompareTo(b.Value);if (c != 0){return c;}if (!Exists){return -1;}if (!b.Exists){return 1;}return 0;}
