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

de.factoryfx.data.attribute.primitive.BooleanAttribute Maven / Gradle / Ivy

The newest version!
package de.factoryfx.data.attribute.primitive;

import de.factoryfx.data.attribute.ImmutableValueAttribute;

public class BooleanAttribute extends ImmutableValueAttribute {

    public BooleanAttribute() {
        super(Boolean.class);
        set(Boolean.FALSE);
        nullable();
    }

    @Override
    public Boolean get() {
        Boolean r = super.get();
        if (r == null) {
            return Boolean.FALSE;
        }
        return r;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy