Files
divkit/client/ios/Core/CommonCore/OrderedDictionary.swift
T
chris-benua 710f12e3a5 memoizing image placeholders; updated Base, CommonCore
memoizing image placeholders; updated Base, CommonCore
2022-12-05 21:43:41 +03:00

15 lines
341 B
Swift

// Copyright 2019 Yandex LLC. All rights reserved.
public protocol OrderedDictionary {
associatedtype Item
init()
func insertFirst(key: String, item: Item)
func value(for key: String) -> Item?
func removeLast() -> (key: String, item: Item)?
func remove(key: String) -> Item?
func asArray() -> [(key: String, item: Item)]
}