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

com.beans.BooleanProperty Maven / Gradle / Ivy

There is a newer version: 1.7.0
Show newest version
package com.beans;

import java.util.function.BooleanSupplier;

/**
 * 

* A boolean specialization of {@link Property}. * Provides methods to access using primitive types: {@link #getAsBoolean()}, {@link #setAsBoolean(boolean)}. *

*

* An extension of {@link BooleanSupplier}. *

*

* This property is not nullable. *

* * @since JavaBeans 1.0 */ public interface BooleanProperty extends BooleanSupplier, Property { /** * Gets the value of the property. * * @return the value of the property. */ @Override boolean getAsBoolean(); /** * Sets the value of the property. * * @param value value of the property. */ void setAsBoolean(boolean value); /** * {@inheritDoc} *

* Setting null is not valid, and will set false instead. *

*/ @Override void set(Boolean value); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy