Documentation of 'cc.redberry.core.transformations.TransformationCollection' Java class
TransformationCollection
cc.redberry.core.transformations

Class TransformationCollection

  • All Implemented Interfaces:
    Transformation


    public final class TransformationCollection
    extends java.lang.Object
    implements Transformation
    Collection of transformation. The transformations in this collection will be applied sequentially.
    • Constructor Detail

      • TransformationCollection

        public TransformationCollection(java.util.Collection<Transformation> transformations)
        Constructs transformation from a given collection of transformations.
        Parameters:
        transformations - collection of transformations
      • TransformationCollection

        public TransformationCollection(Transformation... transformations)
        Constructs transformation from a given array of transformations.
        Parameters:
        transformations - array of transformations
    • Method Detail

      • transform

        public Tensor transform(Tensor t)
        Description copied from interface: Transformation
        Transforms specified tensor and returns the result.
        Specified by:
        transform in interface Transformation
        Parameters:
        t - tensor
        Returns:
        transformed tensor
      • getTransformations

        public java.util.List<Transformation> getTransformations()
        Returns a list of transformations.
        Returns:
        a list of transformations
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.