Interface SegmentReferences
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static @NotNull SegmentReferencesfromSegmentData(@NotNull SegmentData data, @NotNull SegmentIdProvider idProvider)Builds a new instance ofSegmentReferencesfrom the providedSegmentData.SegmentIdgetSegmentId(int reference)Fetch the referenced segment ID associated to the provided reference.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
fromSegmentData
@NotNull static @NotNull SegmentReferences fromSegmentData(@NotNull @NotNull SegmentData data, @NotNull @NotNull SegmentIdProvider idProvider)
Builds a new instance ofSegmentReferencesfrom the providedSegmentData.
-
getSegmentId
SegmentId getSegmentId(int reference)
Fetch the referenced segment ID associated to the provided reference.- Parameters:
reference- The reference to a segment ID.- Returns:
- The segment ID associated to the reference of
nullif none is found.
-
-