class ValueWrapper {

    public int numCompare(Object withValue) {
        return performOperation(value, withValue, Integer::compare, Double::compare).intValue();
    }

    public  ValueWrapper(Object value);

}