Class BoxedLongGetter<T>

java.lang.Object
org.simpleflatmapper.reflect.primitive.BoxedLongGetter<T>
All Implemented Interfaces:
Getter<T,Long>, LongGetter<T>

public class BoxedLongGetter<T> extends Object implements LongGetter<T>, Getter<T,Long>
  • Constructor Details

    • BoxedLongGetter

      public BoxedLongGetter(Getter<? super T,? extends Long> delegate)
  • Method Details

    • getLong

      public long getLong(T target) throws Exception
      Specified by:
      getLong in interface LongGetter<T>
      Throws:
      Exception
    • get

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