@Immutable public abstract static class SpanData.Links extends Object
Modifier and Type | Method and Description |
---|---|
static SpanData.Links |
create(List<Link> links,
int droppedLinksCount)
Returns a new immutable
Links . |
abstract int |
getDroppedLinksCount()
Returns the number of dropped links.
|
abstract List<Link> |
getLinks()
Returns the list of links.
|
public static SpanData.Links create(List<Link> links, int droppedLinksCount)
Links
.links
- the list of links.droppedLinksCount
- the number of dropped links.Links
.public abstract List<Link> getLinks()
public abstract int getDroppedLinksCount()