Lines Matching refs:other

55     public DoubleValue generalize(DoubleValue other)
57 return other.generalize(this);
60 public DoubleValue add(DoubleValue other)
62 return other.add(this);
65 public DoubleValue subtract(DoubleValue other)
67 return other.subtractFrom(this);
70 public DoubleValue subtractFrom(DoubleValue other)
72 return other.subtract(this);
75 public DoubleValue multiply(DoubleValue other)
77 return other.multiply(this);
80 public DoubleValue divide(DoubleValue other)
82 return other.divideOf(this);
85 public DoubleValue divideOf(DoubleValue other)
87 return other.divide(this);
90 public DoubleValue remainder(DoubleValue other)
92 return other.remainderOf(this);
95 public DoubleValue remainderOf(DoubleValue other)
97 return other.remainder(this);
100 public IntegerValue compare(DoubleValue other)
102 return other.compareReverse(this);
109 public DoubleValue generalize(SpecificDoubleValue other)
111 return this.equals(other) ? this : ValueFactory.DOUBLE_VALUE;
114 public DoubleValue add(SpecificDoubleValue other)
116 return new CompositeDoubleValue(this, CompositeDoubleValue.ADD, other);
119 public DoubleValue subtract(SpecificDoubleValue other)
121 return new CompositeDoubleValue(this, CompositeDoubleValue.SUBTRACT, other);
124 public DoubleValue subtractFrom(SpecificDoubleValue other)
126 return new CompositeDoubleValue(other, CompositeDoubleValue.SUBTRACT, this);
129 public DoubleValue multiply(SpecificDoubleValue other)
131 return new CompositeDoubleValue(this, CompositeDoubleValue.MULTIPLY, other);
134 public DoubleValue divide(SpecificDoubleValue other)
136 return new CompositeDoubleValue(this, CompositeDoubleValue.DIVIDE, other);
139 public DoubleValue divideOf(SpecificDoubleValue other)
141 return new CompositeDoubleValue(other, CompositeDoubleValue.DIVIDE, this);
144 public DoubleValue remainder(SpecificDoubleValue other)
146 return new CompositeDoubleValue(this, CompositeDoubleValue.REMAINDER, other);
149 public DoubleValue remainderOf(SpecificDoubleValue other)
151 return new CompositeDoubleValue(other, CompositeDoubleValue.REMAINDER, this);
154 public IntegerValue compare(SpecificDoubleValue other)
156 return this.equals(other) ?
158 new ComparisonValue(this, other);