BidirectionalCollection
E427892
BidirectionalCollection is a Swift standard library protocol for collections whose elements can be traversed efficiently in both forward and backward directions.
All labels observed (1)
| Label | Occurrences |
|---|---|
| BidirectionalCollection canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T4275687 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: BidirectionalCollection Context triple: [Swift Standard Library, includesProtocol, BidirectionalCollection]
-
A.
Connectional Table
The Connectional Table is a leadership and coordinating body within the United Methodist Church that oversees and aligns the denomination’s mission, ministries, and resources at the global level.
-
B.
Mutable Set
Mutable Set is a 2020 studio album by American guitarist and songwriter Blake Mills, noted for its intricate production and introspective, experimental folk-rock sound.
-
C.
NSSet
NSSet is an Objective-C collection class that represents an unordered, unique set of objects, commonly used in Cocoa and Cocoa Touch frameworks.
-
D.
Mutable Set (track)
"Mutable Set (track)" is a song by the American singer-songwriter Blake Mills from his critically acclaimed 2020 album "Mutable Set."
-
E.
B-tree
A B-tree is a self-balancing tree data structure that maintains sorted data and allows efficient insertion, deletion, and search operations, commonly used to implement database indexes.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: BidirectionalCollection Target entity description: BidirectionalCollection is a Swift standard library protocol for collections whose elements can be traversed efficiently in both forward and backward directions.
-
A.
Connectional Table
The Connectional Table is a leadership and coordinating body within the United Methodist Church that oversees and aligns the denomination’s mission, ministries, and resources at the global level.
-
B.
Mutable Set
Mutable Set is a 2020 studio album by American guitarist and songwriter Blake Mills, noted for its intricate production and introspective, experimental folk-rock sound.
-
C.
NSSet
NSSet is an Objective-C collection class that represents an unordered, unique set of objects, commonly used in Cocoa and Cocoa Touch frameworks.
-
D.
Mutable Set (track)
"Mutable Set (track)" is a song by the American singer-songwriter Blake Mills from his critically acclaimed 2020 album "Mutable Set."
-
E.
B-tree
A B-tree is a self-balancing tree data structure that maintains sorted data and allows efficient insertion, deletion, and search operations, commonly used to implement database indexes.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Swift protocol
ⓘ
collection protocol ⓘ |
| availableOnPlatform |
Linux (Swift)
NERFINISHED
ⓘ
iOS NERFINISHED ⓘ macOS NERFINISHED ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| backwardTraversalComplexity | O(1) per step ⓘ |
| conformingTypesMustSupport | bidirectional index movement in O(1) time ⓘ |
| conformsTo | Sequence (via Collection) ⓘ |
| definedInLanguage | Swift NERFINISHED ⓘ |
| designGoal | provide efficient bidirectional traversal semantics ⓘ |
| documentationURL | https://developer.apple.com/documentation/swift/bidirectionalcollection ⓘ |
| elementAccessComplexity | O(1) ⓘ |
| extends | Collection ⓘ |
| forwardTraversalComplexity | O(1) per step ⓘ |
| hasAssociatedType |
Element
ⓘ
Index ⓘ |
| hasSubProtocol | RandomAccessCollection ⓘ |
| indexTypeMustConformTo | Comparable ⓘ |
| introducedIn | Swift 1.x era ⓘ |
| languageFeatureCategory | Generics ⓘ |
| module | Swift NERFINISHED ⓘ |
| partOf | Swift Standard Library NERFINISHED ⓘ |
| primaryUse | collections that can be traversed efficiently in both directions ⓘ |
| refinedFrom | Collection protocol ⓘ |
| requiresIndicesToForm | a finite range ⓘ |
| requiresMethod |
index(after:)
ⓘ
index(before:) ⓘ |
| requiresProperty |
endIndex
ⓘ
indices ⓘ isEmpty ⓘ startIndex ⓘ |
| requiresSubscript | subscript(position: Index) -> Element ⓘ |
| requiresTraversalDirection |
backward
ⓘ
forward ⓘ |
| superProtocol | Collection ⓘ |
| supportsOperation |
backward index movement
ⓘ
bidirectional for-in loops ⓘ reverse iteration ⓘ |
| typicalConformingType |
Array
ⓘ
ArraySlice NERFINISHED ⓘ ClosedRange ⓘ ContiguousArray ⓘ Range ⓘ String ⓘ Substring ⓘ |
| usedFor | algorithms that need to traverse collections from the end ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: BidirectionalCollection Description of subject: BidirectionalCollection is a Swift standard library protocol for collections whose elements can be traversed efficiently in both forward and backward directions.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.