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

com.beans.LongProperty Maven / Gradle / Ivy

The newest version!
package com.beans;

import java.util.function.LongSupplier;

/**
 * 

* A long specialization of {@link Property}. * Provides methods to access using primitive types: {@link #getAsLong()}, {@link #setAsLong(long)}. *

*

* An extension of {@link LongSupplier}. *

*

* This property is not nullable. *

* * @since JavaBeans 1.0 */ public interface LongProperty extends LongSupplier, Property { /** * Gets the value of the property. * * @return the value of the property. */ @Override long getAsLong(); /** * Sets the value of the property. * * @param value value of the property. */ void setAsLong(long value); /** * {@inheritDoc} *

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy