Class FieldFromArray<OUT>

    • Constructor Detail

      • FieldFromArray

        public FieldFromArray()
        Extracts the first field (id 0) from the array.
      • FieldFromArray

        public FieldFromArray​(int fieldId)
        Extracts the field with the given id from the array.
        Parameters:
        fieldId - The id of the field which will be extracted from the array.
    • Method Detail

      • extract

        public OUT extract​(Object in)
        Description copied from interface: Extractor
        Extracts/Converts the given input to an object of the output type.
        Specified by:
        extract in interface Extractor<Object,​OUT>
        Parameters:
        in - the input data
        Returns:
        the extracted/converted data