Class WicaChannelValueLatestValueFilter

java.lang.Object
ch.psi.wica.services.channel.WicaChannelValueLatestValueFilter
All Implemented Interfaces:
WicaChannelValueFilter

@Immutable class WicaChannelValueLatestValueFilter extends Object implements WicaChannelValueFilter
A filter that returns an output list with the most recent N values taken from the input list.
  • Constructor Details

    • WicaChannelValueLatestValueFilter

      WicaChannelValueLatestValueFilter(int maxNumberOfSamples)
      Constructs a new instance which returns up to the specified maximum number of samples.
      Parameters:
      maxNumberOfSamples - - the maximum number of values to include in the output list.
  • Method Details