/var/www/qr4y.kz/server/delivery/node_modules/@firebase/database/dist/src/core/snap
NameSizeModeActions
indexes/-0755rm
ChildrenNode.d.ts44210644editdlrm
childSet.d.ts14460644editdlrm
comparators.d.ts8270644editdlrm
IndexMap.d.ts17020644editdlrm
LeafNode.d.ts30890644editdlrm
Node.d.ts46000644editdlrm
nodeFromJSON.d.ts9950644editdlrm
snap.d.ts9240644editdlrm
Edit: /var/www/qr4y.kz/server/delivery/node_modules/@firebase/database/dist/src/core/snap/childSet.d.ts (1446B)
/** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { SortedMap } from '../util/SortedMap'; import { NamedNode } from './Node'; /** * Takes a list of child nodes and constructs a SortedSet using the given comparison * function * * Uses the algorithm described in the paper linked here: * http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.46.1458 * * @param childList - Unsorted list of children * @param cmp - The comparison method to be used * @param keyFn - An optional function to extract K from a node wrapper, if K's * type is not NamedNode * @param mapSortFn - An optional override for comparator used by the generated sorted map */ export declare const buildChildSet: (childList: NamedNode[], cmp: (a: NamedNode, b: NamedNode) => number, keyFn?: (a: NamedNode) => K, mapSortFn?: (a: K, b: K) => number) => SortedMap;