switch(other.getType()) { case Type.INTEGER: return new IntegerValue( value.multiply( ((IntegerValue) other).value ), type ); case Type.DAY_TIME_DURATION: case Type.YEAR_MONTH_DURATION: return other.mult(this); default: return ((ComputableValue) convertTo(other.getType())).mult(other); }
if(Type.subTypeOf(other.getType(), Type.INTEGER)) return new IntegerValue( value.multiply( ((IntegerValue) other).value ), type ); else if(Type.subTypeOf(other.getType(), Type.DURATION)) return other.mult(this); else return ((ComputableValue) convertTo(other.getType())).mult(other);
	public ComputableValue mult(ComputableValue other) throws XPathException {		switch(other.getType()) {			case Type.INTEGER:				return new IntegerValue( value.multiply( ((IntegerValue) other).value ), type );			case Type.DAY_TIME_DURATION:			case Type.YEAR_MONTH_DURATION:				return other.mult(this);			default:				return ((ComputableValue) convertTo(other.getType())).mult(other);		}	}