Class IndexedBooleanArrayGetter

java.lang.Object
org.simpleflatmapper.reflect.getter.IndexedBooleanArrayGetter
All Implemented Interfaces:
Getter<boolean[],Boolean>, BooleanGetter<boolean[]>

public final class IndexedBooleanArrayGetter extends Object implements Getter<boolean[],Boolean>, BooleanGetter<boolean[]>
  • Constructor Details

    • IndexedBooleanArrayGetter

      public IndexedBooleanArrayGetter(int index)
  • Method Details

    • getBoolean

      public boolean getBoolean(boolean[] target) throws Exception
      Specified by:
      getBoolean in interface BooleanGetter<boolean[]>
      Throws:
      Exception
    • get

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