public static ResultNode getType(ResultNode arg1, ResultNode arg2) {
        return (ResultNode)ResultNode.createFromId(types.get(getBaseType(arg1)).get(getBaseType(arg2)));
    }
This class implements a lookup table for result node type conversion.

@author Ulf Lilleengen
searchlib/src/main/java/com/yahoo/searchlib/expression/ArithmeticTypeConversion.java