ranges property

List<VersionRange> ranges
final

The constraints that compose this union.

This list has two invariants:

  • Its contents are sorted using the standard ordering of VersionRanges.
  • Its contents are disjoint and non-adjacent. In other words, for any two constraints next to each other in the list, there's some version between those constraints that they don't match.

Implementation

final List<VersionRange> ranges;