Interface Transformer<T>

All Superinterfaces:
Function<T,T>, UnaryOperator<T>
All Known Implementing Classes:
AbstractDateExpansionRule, AbstractMethodTransformer, AddTransformer, AttendeeUpdate, ByDayRule, ByHourRule, ByMinuteRule, ByMonthDayRule, ByMonthRule, BySecondRule, BySetPosRule, ByWeekNoRule, ByYearDayRule, CancelTransformer, CounterTransformer, DeclineCounterTransformer, MethodUpdate, OrganizerUpdate, PublishTransformer, RefreshTransformer, ReplyTransformer, RequestTransformer, Rfc5545Transformer, SequenceIncrement, UidUpdate

public interface Transformer<T> extends UnaryOperator<T>
$Id$ Created: 23/09/2004 Base class of calendar transformations.
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    apply(T t)
     
    transform(T object)
    Transforms the specified calendar object according to the implementation of this method.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • transform

      T transform(T object)
      Transforms the specified calendar object according to the implementation of this method.
      Parameters:
      object - a calendar object to transform
      Returns:
      a transformed calendar object
    • apply

      default T apply(T t)
      Specified by:
      apply in interface Function<T,T>