Interface FloatValued

All Superinterfaces:
DoubleValued, NumericValued, ScalarTyped, ScalarValued, TokenTyped, TokenValued
All Known Subinterfaces:
FloatInputField, FloatValuedIterator, IntInputField, IntValued, IntValuedIterator, LongInputField, LongValued, LongValuedIterator, MoneyInputField, MoneyValued, MoneyValuedIterator
All Known Implementing Classes:
FloatRegister, FloatToken, IntRegister, IntToken, LongRegister, LongToken, MoneyRegister, MoneyToken, NullToken

public interface FloatValued extends DoubleValued
A TokenValued object containing a float value.
See Also:
  • TokenTypeConstant#FLOAT
  • Method Details

    • asFloat

      float asFloat()
      Gets the contained float value.
      Returns:
      the contained value as a float. If null valued, as indicated by TokenValued.isNull(), Float.NaN is returned.