Class TransformEngineWrapper<T extends TransformEngine>

  • All Implemented Interfaces:
    TransformEngine

    public class TransformEngineWrapper<T extends TransformEngine>
    extends Object
    implements TransformEngine
    Wraps a TransformerEngine (allows the wrapped instance to be swapped without modifications to the RTPConnector's transformer engine chain.
    Author:
    George Politis, Lyubomir Marinov
    • Constructor Detail

      • TransformEngineWrapper

        public TransformEngineWrapper()
    • Method Detail

      • contains

        public boolean contains​(T t)
        Determines whether this TransformEngineWrapper contains a specific TransformEngine.
        Parameters:
        t - the TransformEngine to check whether it is contained in this TransformEngineWrapper
        Returns:
        true if t equals wrapped or t is contained in the chain of wrapped (if wrapped is a TransformEngineChain); otherwise, false
      • getWrapped

        public T getWrapped()
      • setWrapped

        public void setWrapped​(T wrapped)