Interface PingBuffer

    • Method Detail

      • getBeginIndex

        int getBeginIndex()
        The first valid index usable by getPing(int).
        Returns:
        the first valid index.
      • getEndIndex

        int getEndIndex()
        One past the last valid index usable by getPing(int).
        Returns:
        one past the last valid index.
      • getPing

        Ping getPing​(int aIndex)
        Returns a ping indexed relative to the center ping. The center ping can be accessed by getPing(0). The surrounding pings can be access by getPing(aIndex), where
        getBeginIndex() ≤ aIndex < getEndIndex().
        Parameters:
        aIndex - the index relative to the center ping.
        Returns:
        a ping.