---
title: Sequence Implementations
framework: swift
role: collectionGroup
role_heading: API Collection
path: swift/rangeset/ranges-swift.struct/sequence-implementations
---

# Sequence Implementations

## Topics

### Instance Properties

- [lazy](swift/rangeset/ranges-swift.struct/lazy.md)

### Instance Methods

- [allSatisfy(_:)](swift/rangeset/ranges-swift.struct/allsatisfy(_:).md)
- [compactMap(_:)](swift/rangeset/ranges-swift.struct/compactmap(_:).md)
- [contains(_:)](swift/rangeset/ranges-swift.struct/contains(_:).md)
- [contains(where:)](swift/rangeset/ranges-swift.struct/contains(where:).md)
- [count(where:)](swift/rangeset/ranges-swift.struct/count(where:).md)
- [elementsEqual(_:)](swift/rangeset/ranges-swift.struct/elementsequal(_:).md)
- [elementsEqual(_:by:)](swift/rangeset/ranges-swift.struct/elementsequal(_:by:).md)
- [enumerated()](swift/rangeset/ranges-swift.struct/enumerated().md)
- [filter(_:)](swift/rangeset/ranges-swift.struct/filter(_:).md)
- [first(where:)](swift/rangeset/ranges-swift.struct/first(where:).md)
- [flatMap(_:)](swift/rangeset/ranges-swift.struct/flatmap(_:)-4laa6.md)
- [flatMap(_:)](swift/rangeset/ranges-swift.struct/flatmap(_:)-92yy6.md)
- [forEach(_:)](swift/rangeset/ranges-swift.struct/foreach(_:).md)
- [lexicographicallyPrecedes(_:by:)](swift/rangeset/ranges-swift.struct/lexicographicallyprecedes(_:by:).md)
- [map(_:)](swift/rangeset/ranges-swift.struct/map(_:)-3ykax.md)
- [max(by:)](swift/rangeset/ranges-swift.struct/max(by:).md)
- [min(by:)](swift/rangeset/ranges-swift.struct/min(by:).md)
- [reduce(_:_:)](swift/rangeset/ranges-swift.struct/reduce(_:_:).md)
- [reduce(into:_:)](swift/rangeset/ranges-swift.struct/reduce(into:_:).md)
- [shuffled()](swift/rangeset/ranges-swift.struct/shuffled().md)
- [shuffled(using:)](swift/rangeset/ranges-swift.struct/shuffled(using:).md)
- [sorted(by:)](swift/rangeset/ranges-swift.struct/sorted(by:).md)
- [starts(with:)](swift/rangeset/ranges-swift.struct/starts(with:).md)
- [starts(with:by:)](swift/rangeset/ranges-swift.struct/starts(with:by:).md)
- [withContiguousStorageIfAvailable(_:)](swift/rangeset/ranges-swift.struct/withcontiguousstorageifavailable(_:).md)

### Type Aliases

- [RangeSet.Ranges.Element](swift/rangeset/ranges-swift.struct/element.md)
- [RangeSet.Ranges.Iterator](swift/rangeset/ranges-swift.struct/iterator.md)
