Class IndexedObjectArrayGetter<E>

java.lang.Object
org.simpleflatmapper.reflect.getter.IndexedObjectArrayGetter<E>
All Implemented Interfaces:
Getter<E[],E>

public final class IndexedObjectArrayGetter<E> extends Object implements Getter<E[],E>
  • Constructor Details

    • IndexedObjectArrayGetter

      public IndexedObjectArrayGetter(int index)
  • Method Details

    • get

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