Class IndexedFloatArrayGetter

java.lang.Object
org.simpleflatmapper.reflect.getter.IndexedFloatArrayGetter
All Implemented Interfaces:
Getter<float[],Float>, FloatGetter<float[]>

public final class IndexedFloatArrayGetter extends Object implements Getter<float[],Float>, FloatGetter<float[]>
  • Constructor Details

    • IndexedFloatArrayGetter

      public IndexedFloatArrayGetter(int index)
  • Method Details

    • getFloat

      public float getFloat(float[] target) throws Exception
      Specified by:
      getFloat in interface FloatGetter<float[]>
      Throws:
      Exception
    • get

      public Float get(float[] target) throws Exception
      Description copied from interface: Getter
      Return the property from the specified object.
      Specified by:
      get in interface Getter<float[],Float>
      Parameters:
      target - the object to get the property from
      Returns:
      the property
      Throws:
      Exception - if anything goes wrong