Interface Similarities

    • Method Detail

      • translate

        long[] translate​(long time,
                         TimeUnit timeUnit)
        Calculates other points in time, a given time is similar to.
        Parameters:
        time - time
        timeUnit - time unit
        Returns:
        array of times the given time is similar to
      • count

        int count()
        Number of similarities.
        Returns:
        count or -1 if not known
      • stream

        default Stream<Similarity> stream()
        Return stream for this iterable.
        Returns:
        stream