|
|
@ -1,8 +1,11 @@ |
|
|
|
package mightypork.utils.math.num; |
|
|
|
package mightypork.utils.math.num; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
import mightypork.utils.math.rect.RectView; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class NumMathDynamic extends NumMathBase<NumView> { |
|
|
|
|
|
|
|
|
|
|
|
private NumView ceil; |
|
|
|
private NumView ceil; |
|
|
|
private NumView floor; |
|
|
|
private NumView floor; |
|
|
|
private NumView sgn; |
|
|
|
private NumView sgn; |
|
|
@ -19,13 +22,15 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
private NumView square; |
|
|
|
private NumView square; |
|
|
|
private NumView neg; |
|
|
|
private NumView neg; |
|
|
|
private NumView abs; |
|
|
|
private NumView abs; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView add(final double addend) |
|
|
|
public NumView add(final double addend) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return new NumView() { |
|
|
|
return new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
private Num t = NumMathDynamic.this; |
|
|
|
private final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
@ -34,19 +39,22 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView sub(final double subtrahend) |
|
|
|
public NumView sub(final double subtrahend) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return add(-subtrahend); |
|
|
|
return add(-subtrahend); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView mul(final double factor) |
|
|
|
public NumView mul(final double factor) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return new NumView() { |
|
|
|
return new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
private Num t = NumMathDynamic.this; |
|
|
|
private final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
@ -55,43 +63,49 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView div(final double factor) |
|
|
|
public NumView div(final double factor) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return mul(1/factor); |
|
|
|
return mul(1 / factor); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView perc(final double percent) |
|
|
|
public NumView perc(final double percent) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return mul(percent/100); |
|
|
|
return mul(percent / 100); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView neg() |
|
|
|
public NumView neg() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(neg==null) neg = new NumView() { |
|
|
|
if (neg == null) neg = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return -1*t.value(); |
|
|
|
return -1 * t.value(); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
return neg; |
|
|
|
return neg; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView abs() |
|
|
|
public NumView abs() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(abs==null) abs = new NumView() { |
|
|
|
if (abs == null) abs = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -101,7 +115,8 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return abs; |
|
|
|
return abs; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView max(final double other) |
|
|
|
public NumView max(final double other) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -109,6 +124,7 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -116,7 +132,8 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView min(final double other) |
|
|
|
public NumView min(final double other) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -124,6 +141,7 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -131,7 +149,8 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView pow(final double other) |
|
|
|
public NumView pow(final double other) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -139,6 +158,7 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -146,50 +166,56 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView square() |
|
|
|
public NumView square() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(square==null) square = new NumView() { |
|
|
|
if (square == null) square = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
|
final double v = t.value(); |
|
|
|
final double v = t.value(); |
|
|
|
return v*v; |
|
|
|
return v * v; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
return square; |
|
|
|
return square; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView cube() |
|
|
|
public NumView cube() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(cube==null) cube = new NumView() { |
|
|
|
if (cube == null) cube = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
|
final double v = t.value(); |
|
|
|
final double v = t.value(); |
|
|
|
return v*v*v; |
|
|
|
return v * v * v; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
return cube; |
|
|
|
return cube; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView sqrt() |
|
|
|
public NumView sqrt() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(sqrt==null) sqrt = new NumView() { |
|
|
|
if (sqrt == null) sqrt = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -199,14 +225,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return sqrt; |
|
|
|
return sqrt; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView cbrt() |
|
|
|
public NumView cbrt() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(cbrt==null) cbrt = new NumView() { |
|
|
|
if (cbrt == null) cbrt = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -216,14 +244,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return cbrt; |
|
|
|
return cbrt; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView sin() |
|
|
|
public NumView sin() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(sin==null) sin = new NumView() { |
|
|
|
if (sin == null) sin = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -233,14 +263,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return sin; |
|
|
|
return sin; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView cos() |
|
|
|
public NumView cos() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(cos==null) cos = new NumView() { |
|
|
|
if (cos == null) cos = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -250,14 +282,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return cos; |
|
|
|
return cos; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView tan() |
|
|
|
public NumView tan() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(tan==null) tan = new NumView() { |
|
|
|
if (tan == null) tan = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -267,14 +301,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return tan; |
|
|
|
return tan; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView asin() |
|
|
|
public NumView asin() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(asin==null) asin = new NumView() { |
|
|
|
if (asin == null) asin = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -284,14 +320,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return asin; |
|
|
|
return asin; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView acos() |
|
|
|
public NumView acos() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(acos==null) acos = new NumView() { |
|
|
|
if (acos == null) acos = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -301,14 +339,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return acos; |
|
|
|
return acos; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView atan() |
|
|
|
public NumView atan() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(atan==null) atan = new NumView() { |
|
|
|
if (atan == null) atan = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -318,14 +358,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return atan; |
|
|
|
return atan; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView round() |
|
|
|
public NumView round() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(round==null) round = new NumView() { |
|
|
|
if (round == null) round = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -335,14 +377,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return round; |
|
|
|
return round; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView floor() |
|
|
|
public NumView floor() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(floor==null) floor = new NumView() { |
|
|
|
if (floor == null) floor = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -352,14 +396,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return floor; |
|
|
|
return floor; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView ceil() |
|
|
|
public NumView ceil() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(ceil==null) ceil = new NumView() { |
|
|
|
if (ceil == null) ceil = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -369,14 +415,16 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return ceil; |
|
|
|
return ceil; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView signum() |
|
|
|
public NumView signum() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(sgn==null) sgn = new NumView() { |
|
|
|
if (sgn == null) sgn = new NumView() { |
|
|
|
|
|
|
|
|
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
final Num t = NumMathDynamic.this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public double value() |
|
|
|
public double value() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -386,7 +434,8 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
|
|
|
|
|
|
|
|
return sgn; |
|
|
|
return sgn; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public NumView average(final double other) |
|
|
|
public NumView average(final double other) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -399,7 +448,6 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
{ |
|
|
|
{ |
|
|
|
return mul(0.5); |
|
|
|
return mul(0.5); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -555,4 +603,11 @@ public abstract class NumMathDynamic extends NumMathBase<NumView>{ |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public RectView box() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return RectView.make(this, this); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|