public void setEnableCache(String enableCache) {
        if (enableCache.equals("true") || enableCache.equals("t") || enableCache.equals("1")) {
            this.enableCache = true;
        } else {
            this.enableCache = false;
        }
        if (showCacheStats) {
            String cstr = this.enableCache ? "enabled" : "disabled";
            System.out.println("Cache is " + cstr + " for ObjFunc with method = " + this.getMethod());
        }
    }