# Class ApfloatHolder

java.lang.Object
org.apfloat.samples.ApfloatHolder

All Implemented Interfaces:
  `Serializable`

public class ApfloatHolder extends Object implements Serializable
Simple JavaBean to hold one `Apfloat`. This class can also be thought of as a pointer to an `Apfloat`.

Version:
  1.9.0
Author:
  Mikko Tommila
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ApfloatHolder()`
  Construct an ApfloatHolder containing `null`.
  `ApfloatHolder(Apfloat apfloat)`
  Construct an ApfloatHolder containing the specified apfloat.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Apfloat`
  `getApfloat()`
  Return the apfloat contained in this bean.
  `void`
  `setApfloat(Apfloat apfloat)`
  Set the apfloat contained in this bean.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ApfloatHolder

    public ApfloatHolder()
    Construct an ApfloatHolder containing `null`.

  - ### ApfloatHolder

    public ApfloatHolder(Apfloat apfloat)
    Construct an ApfloatHolder containing the specified apfloat.
    Parameters:
      `apfloat` - The number to hold.

- ## Method Details

  - ### getApfloat

    public Apfloat getApfloat()
    Return the apfloat contained in this bean.
    Returns:
      The apfloat contained in this bean.

  - ### setApfloat

    public void setApfloat(Apfloat apfloat)
    Set the apfloat contained in this bean.
    Parameters:
      `apfloat` - The apfloat.