All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.epam.jdi.light.elements.complex.table.CacheAll Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
package com.epam.jdi.light.elements.complex.table;

import com.epam.jdi.tools.CacheValue;
import com.epam.jdi.tools.func.JFunc;

/**
 * Created by Roman Iovlev on 26.09.2019
 * Email: [email protected]; Skype: roman.iovlev
 */
public class CacheAll extends CacheValue {
    public CacheAll() { }
    public CacheAll(JFunc getRule) { setRule(getRule); }
    private boolean gotAll = false;
    protected boolean isGotAll() {
        if (!hasValue())
            gotAll = false;
        return gotAll;
    }
    public void gotAll() { gotAll = true; }
    @Override
    public void clear() { super.clear(); gotAll = false; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy