Class ArrayReverse

    • Field Detail

      • m_NoCopy

        protected boolean m_NoCopy
        whether to reverse the array in-place.
    • Constructor Detail

      • ArrayReverse

        public ArrayReverse()
    • Method Detail

      • setNoCopy

        public void setNoCopy​(boolean value)
        Sets whether to reverse order in-place, rather than creating new array.
        Specified by:
        setNoCopy in interface InPlaceProcessing
        Parameters:
        value - true if in-place
      • getNoCopy

        public boolean getNoCopy()
        Returns whether to reverse order in-place, rather than creating new array.
        Specified by:
        getNoCopy in interface InPlaceProcessing
        Returns:
        true if in-place
      • noCopyTipText

        public String noCopyTipText()
        Returns the tip text for this property.
        Specified by:
        noCopyTipText in interface InPlaceProcessing
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        adams.flow.core.Unknown[].class
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Specified by:
        generates in interface OutputProducer
        Returns:
        adams.flow.core.Unknown[].class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message