Class FieldCachedTransformProvider<T extends CalculusFieldElement<T>>

  • Type Parameters:
    T - type of the field elements

    public class FieldCachedTransformProvider<T extends CalculusFieldElement<T>>
    extends Object
    Thread-safe cached provider for frame transforms.

    This provider is based on a thread-safe Least Recently Used cache using date as it access key, hence saving computation time on transform building.

    This class is thread-safe.

    Since:
    13.0.3
    Author:
    Luc Maisonobe
    • Method Detail

      • getOrigin

        public Frame getOrigin()
        Get origin frame.
        Returns:
        origin frame
      • getDestination

        public Frame getDestination()
        Get destination frame.
        Returns:
        destination frame
      • getCacheSize

        public int getCacheSize()
        Get the nmber of transforms kept in the date-based cache.
        Returns:
        nmber of transforms kept in the date-based cache