Class IndexedDoubleArraySetter

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedDoubleArraySetter
All Implemented Interfaces:
DoubleSetter<double[]>, Setter<double[],Double>

public final class IndexedDoubleArraySetter extends Object implements Setter<double[],Double>, DoubleSetter<double[]>
  • Constructor Details

    • IndexedDoubleArraySetter

      public IndexedDoubleArraySetter(int index)
  • Method Details

    • setDouble

      public void setDouble(double[] target, double value) throws Exception
      Specified by:
      setDouble in interface DoubleSetter<double[]>
      Throws:
      Exception
    • set

      public void set(double[] target, Double value) throws Exception
      Description copied from interface: Setter
      Set the properties on the target object to value.
      Specified by:
      set in interface Setter<double[],Double>
      Parameters:
      target - the target to set the value on
      value - the value to set
      Throws:
      Exception - if anything goes wrong