Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | /**
* javascript-collections-framework
*
* A typed collections framework for JavaScript and TypeScript.
* Every public type and function is exported from this module.
*
* @packageDocumentation
*/
// Collections
export { ArrayDeque } from './collections/array-deque'
export { ArrayList } from './collections/array-list'
export type { HashMapOptions } from './collections/hash-map'
export { HashMap } from './collections/hash-map'
export type { HashSetOptions } from './collections/hash-set'
export { HashSet } from './collections/hash-set'
export type { LinkedHashMapOptions } from './collections/linked-hash-map'
export { LinkedHashMap } from './collections/linked-hash-map'
export type { LinkedHashSetOptions } from './collections/linked-hash-set'
export { LinkedHashSet } from './collections/linked-hash-set'
export { LinkedList } from './collections/linked-list'
export type { PriorityQueueOptions } from './collections/priority-queue'
export { PriorityQueue } from './collections/priority-queue'
export type { TreeMapOptions } from './collections/tree-map'
export { TreeMap } from './collections/tree-map'
export type { TreeSetOptions } from './collections/tree-set'
export { TreeSet } from './collections/tree-set'
// Errors
export {
ClassCastError,
ConcurrentModificationError,
IllegalArgumentError,
IllegalStateError,
IndexOutOfBoundsError,
NoSuchElementError,
NullElementError,
UnsupportedOperationError,
} from './errors/errors'
// Algorithms
export {
binarySearch,
disjoint,
fill,
frequency,
indexOfSubList,
lastIndexOfSubList,
max,
min,
reverse,
rotate,
shuffle,
sortedIndex,
swap,
} from './functions/algorithms'
// Comparators
export type { Comparable, Comparator } from './functions/comparators'
export {
compareSymbol,
comparing,
naturalOrder,
nullsFirst,
nullsLast,
reverseOrder,
thenComparing,
} from './functions/comparators'
// Equality and hashing
export type { Equatable, Equivalence, HashFunction, KeyOf } from './functions/equality'
export {
equals,
equalsSymbol,
hashCode,
hashCodeSymbol,
sameValueZeroEquivalence,
valueEquivalence,
} from './functions/equality'
// Guards and collection interfaces
export {
isCollection,
isDeque,
isList,
isMapCollection,
isQueue,
isSequencedCollection,
isSetCollection,
isSortedMap,
isSortedSet,
} from './functions/guards'
// Immutable collections
export {
copyOfList,
copyOfMap,
copyOfSet,
listOf,
mapOf,
setOf,
} from './functions/immutable'
// Lists over arrays
export { asList } from './functions/lists'
// Sets and maps
export { newSetFromMap } from './functions/sets'
// Unmodifiable views
export {
unmodifiableCollection,
unmodifiableList,
unmodifiableMap,
unmodifiableSequencedCollection,
unmodifiableSequencedMap,
unmodifiableSequencedSet,
unmodifiableSet,
unmodifiableSortedMap,
unmodifiableSortedSet,
} from './functions/unmodifiable'
export type { Collection, Cursor, ReadonlyCollection } from './interfaces/collection'
export type { LinkedListNode } from './interfaces/linked-list-node'
export type {
List,
ListCursor,
ReadonlyList,
ReadonlySequencedCollection,
SequencedCollection,
} from './interfaces/list'
export type { MapCollection, MapEntry, ReadonlyMapCollection } from './interfaces/map'
export type { Deque, Queue, ReadonlyDeque, ReadonlyQueue } from './interfaces/queue'
export type { ReadonlySequencedMap, SequencedMap } from './interfaces/sequenced-map'
export type { ReadonlySequencedSet, SequencedSet } from './interfaces/sequenced-set'
export type { ReadonlySetCollection, SetCollection } from './interfaces/set'
export type { ReadonlySortedMap, SortedMap } from './interfaces/sorted-map'
export type {
BoundOptions,
ReadonlySortedSet,
SortedSet,
SubSetOptions,
} from './interfaces/sorted-set'
|