Class SpanData.Links

  • Direct Known Subclasses:
    AutoValue_SpanData_Links
    Enclosing class:
    SpanData

    @Immutable
    public abstract static class SpanData.Links
    extends java.lang.Object
    A list of links and the number of dropped links representation.
    Since:
    0.5
    • Constructor Detail

      • Links

        Links()
    • Method Detail

      • create

        public static SpanData.Links create​(java.util.List<Link> links,
                                            int droppedLinksCount)
        Returns a new immutable Links.
        Parameters:
        links - the list of links.
        droppedLinksCount - the number of dropped links.
        Returns:
        a new immutable Links.
        Since:
        0.5
      • getLinks

        public abstract java.util.List<Link> getLinks()
        Returns the list of links.
        Returns:
        the list of links.
        Since:
        0.5
      • getDroppedLinksCount

        public abstract int getDroppedLinksCount()
        Returns the number of dropped links.
        Returns:
        the number of dropped links.
        Since:
        0.5