Class DoubleHolder

java.lang.Object
com.adobe.xfa.ut.DoubleHolder

public final class DoubleHolder extends Object
A mutable holder class to represent an double value. DoubleHolder objects are useful as return parameters.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    The double value held by this object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a DoubleHolder object with the initial value 0.0.
    DoubleHolder(double value)
    Instantiates a DoubleHolder object with the initial value given.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • value

      public double value
      The double value held by this object.
  • Constructor Details

    • DoubleHolder

      public DoubleHolder()
      Instantiates a DoubleHolder object with the initial value 0.0.
    • DoubleHolder

      public DoubleHolder(double value)
      Instantiates a DoubleHolder object with the initial value given.
      Parameters:
      value - the initial value.