Interface TimestampSelector<T>

Type Parameters:
T - the object type of the source collection.

public interface TimestampSelector<T>
The TimestampSelector is used to pull a timestamp from an object.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    select(T item)
    Select the timestamp from an item.
  • Method Details

    • select

      long select(T item)
      Select the timestamp from an item.
      Parameters:
      item - the item to select the timestamp from.
      Returns:
      the timestamp in milliseconds.