Class IndexedFloatArraySetter

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedFloatArraySetter
All Implemented Interfaces:
FloatSetter<float[]>, Setter<float[],Float>

public final class IndexedFloatArraySetter extends Object implements Setter<float[],Float>, FloatSetter<float[]>
  • Constructor Details

    • IndexedFloatArraySetter

      public IndexedFloatArraySetter(int index)
  • Method Details

    • setFloat

      public void setFloat(float[] target, float value) throws Exception
      Specified by:
      setFloat in interface FloatSetter<float[]>
      Throws:
      Exception
    • set

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