Class BoxedFloatGetter<T>

java.lang.Object
org.simpleflatmapper.reflect.primitive.BoxedFloatGetter<T>
All Implemented Interfaces:
Getter<T,Float>, FloatGetter<T>

public class BoxedFloatGetter<T> extends Object implements FloatGetter<T>, Getter<T,Float>
  • Constructor Details

    • BoxedFloatGetter

      public BoxedFloatGetter(Getter<? super T,? extends Float> delegate)
  • Method Details

    • getFloat

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

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