MCPcopy Create free account
hub / github.com/adobe/react-spectrum /

Class

packages/react-aria/src/collections/BaseCollection.ts:158–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 * custom collection behaviors.
157 */
158export class BaseCollection<T> implements ICollection<Node<T>> {
159 protected keyMap: Map<Key, CollectionNode<T>> = new Map();
160 protected firstKey: Key | null = null;
161 protected lastKey: Key | null = null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected