Class IndexedShortArrayGetter

java.lang.Object
org.simpleflatmapper.reflect.getter.IndexedShortArrayGetter
All Implemented Interfaces:
Getter<short[],Short>, ShortGetter<short[]>

public final class IndexedShortArrayGetter extends Object implements Getter<short[],Short>, ShortGetter<short[]>
  • Constructor Details

    • IndexedShortArrayGetter

      public IndexedShortArrayGetter(int index)
  • Method Details

    • getShort

      public short getShort(short[] target) throws Exception
      Specified by:
      getShort in interface ShortGetter<short[]>
      Throws:
      Exception
    • get

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