---
title: RandomAccessCollection Implementations
framework: swift
role: collectionGroup
role_heading: API Collection
path: swift/keyvaluepairs/randomaccesscollection-implementations
---

# RandomAccessCollection Implementations

## Topics

### Instance Properties

- [endIndex](swift/keyvaluepairs/endindex.md)
- [indices](swift/keyvaluepairs/indices-swift.property.md)
- [startIndex](swift/keyvaluepairs/startindex.md)

### Instance Methods

- [distance(from:to:)](swift/keyvaluepairs/distance(from:to:).md)
- [index(_:offsetBy:)](swift/keyvaluepairs/index(_:offsetby:).md)
- [index(_:offsetBy:limitedBy:)](swift/keyvaluepairs/index(_:offsetby:limitedby:).md)
- [index(after:)](swift/keyvaluepairs/index(after:).md)
- [index(before:)](swift/keyvaluepairs/index(before:).md)

### Subscripts

- [subscript(_:)](swift/keyvaluepairs/subscript(_:).md)

### Type Aliases

- [KeyValuePairs.Element](swift/keyvaluepairs/element.md)
