Index
All Classes and Interfaces|All Packages
A
- add(IMultiMap<? extends K, ? extends V>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- add(IMultiMap<? extends K, ? extends V>) - Method in class cool.scx.collections.multi_map.MultiMap
- add(Map<? extends K, ? extends V>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- add(Map<? extends K, ? extends V>) - Method in class cool.scx.collections.multi_map.MultiMap
- add(K, long) - Method in class cool.scx.collections.count_map.CountMap
- add(K, long) - Method in interface cool.scx.collections.count_map.ICountMap
-
添加
- add(K, Collection<? extends V>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- add(K, Collection<? extends V>) - Method in class cool.scx.collections.multi_map.MultiMap
- add(K, V) - Method in interface cool.scx.collections.multi_map.IMultiMap
- add(K, V) - Method in class cool.scx.collections.multi_map.MultiMap
- add(K, V...) - Method in interface cool.scx.collections.multi_map.IMultiMap
- add(K, V...) - Method in class cool.scx.collections.multi_map.MultiMap
- add(T) - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- add(T) - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- append(boolean) - Method in class cool.scx.collections.bit_array.BitArray
- append(boolean) - Method in class cool.scx.collections.bit_array.BitArrayView
- append(boolean) - Method in interface cool.scx.collections.bit_array.IBitArray
- append(IBitArray) - Method in class cool.scx.collections.bit_array.BitArray
- append(IBitArray) - Method in class cool.scx.collections.bit_array.BitArrayView
- append(IBitArray) - Method in interface cool.scx.collections.bit_array.IBitArray
B
- BIT_MASKS - Static variable in class cool.scx.collections.bit_array.BitArrayHelper
- BitArray - Class in cool.scx.collections.bit_array
-
基于 byte 数组的实现 优点是相比较
BitSet在数组方面会快一点 - BitArray() - Constructor for class cool.scx.collections.bit_array.BitArray
- BitArray(byte[]) - Constructor for class cool.scx.collections.bit_array.BitArray
- BitArray(byte[], int) - Constructor for class cool.scx.collections.bit_array.BitArray
- BitArray(int) - Constructor for class cool.scx.collections.bit_array.BitArray
- BitArray(BitArray) - Constructor for class cool.scx.collections.bit_array.BitArray
- BitArray(BitArray, int) - Constructor for class cool.scx.collections.bit_array.BitArray
- BitArray(String) - Constructor for class cool.scx.collections.bit_array.BitArray
- BitArrayHelper - Class in cool.scx.collections.bit_array
- BitArrayHelper() - Constructor for class cool.scx.collections.bit_array.BitArrayHelper
- BitArrayView - Class in cool.scx.collections.bit_array
-
一个 BitArray 视图
- BitArrayView(IBitArray...) - Constructor for class cool.scx.collections.bit_array.BitArrayView
- bitIndex(int) - Static method in class cool.scx.collections.bit_array.BitArrayHelper
- byteCapacity(byte[]) - Static method in class cool.scx.collections.bit_array.BitArrayHelper
- byteIndex(int) - Static method in class cool.scx.collections.bit_array.BitArrayHelper
- byteLength(int) - Static method in class cool.scx.collections.bit_array.BitArrayHelper
C
- CircularLinkedIterator<T> - Class in cool.scx.collections.circular_linked_list
-
无限循环的迭代器
- CircularLinkedList<T> - Class in cool.scx.collections.circular_linked_list
-
CircularLinkedList
- CircularLinkedList() - Constructor for class cool.scx.collections.circular_linked_list.CircularLinkedList
- clear() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- clear() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- clear() - Method in class cool.scx.collections.count_map.CountMap
- clear() - Method in interface cool.scx.collections.count_map.ICountMap
- clear() - Method in interface cool.scx.collections.multi_map.IMultiMap
- clear() - Method in class cool.scx.collections.multi_map.MultiMap
- contains(Object) - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- contains(Object) - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- containsKey(K) - Method in class cool.scx.collections.count_map.CountMap
- containsKey(K) - Method in interface cool.scx.collections.count_map.ICountMap
- containsKey(K) - Method in interface cool.scx.collections.multi_map.IMultiMap
- containsKey(K) - Method in class cool.scx.collections.multi_map.MultiMap
- containsValue(V) - Method in interface cool.scx.collections.multi_map.IMultiMap
- containsValue(V) - Method in class cool.scx.collections.multi_map.MultiMap
- cool.scx.collections.bit_array - package cool.scx.collections.bit_array
- cool.scx.collections.circular_linked_list - package cool.scx.collections.circular_linked_list
- cool.scx.collections.count_map - package cool.scx.collections.count_map
- cool.scx.collections.multi_map - package cool.scx.collections.multi_map
- count() - Method in interface cool.scx.collections.count_map.ICountMapEntry
- CountMap<K> - Class in cool.scx.collections.count_map
-
CountMap
- CountMap() - Constructor for class cool.scx.collections.count_map.CountMap
- CountMap(Supplier<Map<K, AtomicLong>>) - Constructor for class cool.scx.collections.count_map.CountMap
F
- first() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- first() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- firstNode() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- firstNode() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- forEach(ScxBiConsumer<? super K, V, E>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- forEach(ScxBiConsumer<? super K, V, E>) - Method in class cool.scx.collections.multi_map.MultiMap
- forEach(ScxObjLongConsumer<? super K, E>) - Method in class cool.scx.collections.count_map.CountMap
- forEach(ScxObjLongConsumer<? super K, E>) - Method in interface cool.scx.collections.count_map.ICountMap
- forEachEntry(ScxBiConsumer<? super K, List<V>, E>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- forEachEntry(ScxBiConsumer<? super K, List<V>, E>) - Method in class cool.scx.collections.multi_map.MultiMap
G
- get(int) - Method in class cool.scx.collections.bit_array.BitArray
- get(int) - Method in class cool.scx.collections.bit_array.BitArrayView
- get(int) - Method in interface cool.scx.collections.bit_array.IBitArray
- get(int, int) - Method in class cool.scx.collections.bit_array.BitArray
- get(int, int) - Method in class cool.scx.collections.bit_array.BitArrayView
- get(int, int) - Method in interface cool.scx.collections.bit_array.IBitArray
- get(K) - Method in class cool.scx.collections.count_map.CountMap
- get(K) - Method in interface cool.scx.collections.count_map.ICountMap
-
获取
- get(K) - Method in interface cool.scx.collections.multi_map.IMultiMap
- get(K) - Method in class cool.scx.collections.multi_map.MultiMap
- getAll(K) - Method in interface cool.scx.collections.multi_map.IMultiMap
- getAll(K) - Method in class cool.scx.collections.multi_map.MultiMap
H
- hasNext() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedIterator
- hasNext() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedIterator
I
- IBitArray - Interface in cool.scx.collections.bit_array
-
BitArray 可以理解为一个 boolean[] (bit 数组) 但是兼具了一些动态长度的功能
- ICircularLinkedIterator<T> - Interface in cool.scx.collections.circular_linked_list
-
ICircularLinkedIterator
- ICircularLinkedList<T> - Interface in cool.scx.collections.circular_linked_list
-
ICircularLinkedList
- ICountMap<K> - Interface in cool.scx.collections.count_map
-
CountMap 接口 用来约束
- ICountMapEntry<K> - Interface in cool.scx.collections.count_map
-
ICountMapEntry
- IMultiMap<K,
V> - Interface in cool.scx.collections.multi_map -
MultiMap 接口 用来约束
- IMultiMapEntry<K,
V> - Interface in cool.scx.collections.multi_map -
IMultiMapEntry
- isEmpty() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- isEmpty() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- isEmpty() - Method in class cool.scx.collections.count_map.CountMap
- isEmpty() - Method in interface cool.scx.collections.count_map.ICountMap
- isEmpty() - Method in interface cool.scx.collections.multi_map.IMultiMap
- isEmpty() - Method in class cool.scx.collections.multi_map.MultiMap
- item() - Method in class cool.scx.collections.circular_linked_list.Node
- iterator() - Method in interface cool.scx.collections.bit_array.IBitArray
- iterator() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- iterator() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- iterator() - Method in class cool.scx.collections.count_map.CountMap
- iterator() - Method in class cool.scx.collections.multi_map.MultiMap
K
- key() - Method in interface cool.scx.collections.count_map.ICountMapEntry
- key() - Method in interface cool.scx.collections.multi_map.IMultiMapEntry
- keys() - Method in class cool.scx.collections.count_map.CountMap
- keys() - Method in interface cool.scx.collections.count_map.ICountMap
- keys() - Method in interface cool.scx.collections.multi_map.IMultiMap
- keys() - Method in class cool.scx.collections.multi_map.MultiMap
L
- last() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- last() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- lastNode() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- lastNode() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- length() - Method in class cool.scx.collections.bit_array.BitArray
- length() - Method in class cool.scx.collections.bit_array.BitArrayView
- length() - Method in interface cool.scx.collections.bit_array.IBitArray
- length(int) - Method in class cool.scx.collections.bit_array.BitArray
- length(int) - Method in class cool.scx.collections.bit_array.BitArrayView
- length(int) - Method in interface cool.scx.collections.bit_array.IBitArray
M
- MultiMap<K,
V> - Class in cool.scx.collections.multi_map -
MultiMap
- MultiMap() - Constructor for class cool.scx.collections.multi_map.MultiMap
-
默认内部 map 使用 HashMap, key 使用 ArrayList
- MultiMap(Supplier<Map<K, List<V>>>, Supplier<List<V>>) - Constructor for class cool.scx.collections.multi_map.MultiMap
-
指定内部的 map 实现和内部的 key 实现
N
- next() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedIterator
- next() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedIterator
- next() - Method in class cool.scx.collections.circular_linked_list.Node
- nextNode() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedIterator
- nextNode() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedIterator
- node(Object) - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- node(Object) - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- Node<E> - Class in cool.scx.collections.circular_linked_list
-
Node
P
- prev() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedIterator
- prev() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedIterator
- prev() - Method in class cool.scx.collections.circular_linked_list.Node
- prevNode() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedIterator
- prevNode() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedIterator
R
- remove(Object) - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- remove(Object) - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- remove(K) - Method in class cool.scx.collections.count_map.CountMap
- remove(K) - Method in interface cool.scx.collections.count_map.ICountMap
-
移除
- remove(K, Collection<? extends V>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- remove(K, Collection<? extends V>) - Method in class cool.scx.collections.multi_map.MultiMap
- remove(K, V) - Method in interface cool.scx.collections.multi_map.IMultiMap
- remove(K, V) - Method in class cool.scx.collections.multi_map.MultiMap
- remove(K, V...) - Method in interface cool.scx.collections.multi_map.IMultiMap
- remove(K, V...) - Method in class cool.scx.collections.multi_map.MultiMap
- removeAll(K) - Method in interface cool.scx.collections.multi_map.IMultiMap
- removeAll(K) - Method in class cool.scx.collections.multi_map.MultiMap
- reversed() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- reversed() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
S
- set(int, boolean) - Method in class cool.scx.collections.bit_array.BitArray
- set(int, boolean) - Method in class cool.scx.collections.bit_array.BitArrayView
- set(int, boolean) - Method in interface cool.scx.collections.bit_array.IBitArray
- set(int, int, boolean) - Method in class cool.scx.collections.bit_array.BitArray
- set(int, int, boolean) - Method in class cool.scx.collections.bit_array.BitArrayView
- set(int, int, boolean) - Method in interface cool.scx.collections.bit_array.IBitArray
- set(IMultiMap<? extends K, ? extends V>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- set(IMultiMap<? extends K, ? extends V>) - Method in class cool.scx.collections.multi_map.MultiMap
- set(Map<? extends K, ? extends V>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- set(Map<? extends K, ? extends V>) - Method in class cool.scx.collections.multi_map.MultiMap
- set(K, long) - Method in class cool.scx.collections.count_map.CountMap
- set(K, long) - Method in interface cool.scx.collections.count_map.ICountMap
-
覆盖
- set(K, Collection<? extends V>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- set(K, Collection<? extends V>) - Method in class cool.scx.collections.multi_map.MultiMap
- set(K, V) - Method in interface cool.scx.collections.multi_map.IMultiMap
- set(K, V) - Method in class cool.scx.collections.multi_map.MultiMap
- set(K, V...) - Method in interface cool.scx.collections.multi_map.IMultiMap
- set(K, V...) - Method in class cool.scx.collections.multi_map.MultiMap
- setByBinaryString(BitArray, String) - Static method in class cool.scx.collections.bit_array.BitArrayHelper
- size() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- size() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- size() - Method in class cool.scx.collections.count_map.CountMap
- size() - Method in interface cool.scx.collections.count_map.ICountMap
- size() - Method in interface cool.scx.collections.multi_map.IMultiMap
-
返回 MultiMap 中所有键对应的所有值的总数量 (即所有 values 的扁平总和)
- size() - Method in class cool.scx.collections.multi_map.MultiMap
T
- toArray() - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- toArray() - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- toArray(IntFunction<T[]>) - Method in class cool.scx.collections.circular_linked_list.CircularLinkedList
- toArray(IntFunction<T[]>) - Method in interface cool.scx.collections.circular_linked_list.ICircularLinkedList
- toBinaryString() - Method in class cool.scx.collections.bit_array.BitArray
- toBinaryString() - Method in class cool.scx.collections.bit_array.BitArrayView
- toBinaryString() - Method in interface cool.scx.collections.bit_array.IBitArray
- toBytes() - Method in class cool.scx.collections.bit_array.BitArray
- toBytes() - Method in class cool.scx.collections.bit_array.BitArrayView
- toBytes() - Method in interface cool.scx.collections.bit_array.IBitArray
- toMap() - Method in class cool.scx.collections.count_map.CountMap
- toMap() - Method in interface cool.scx.collections.count_map.ICountMap
- toMap(Supplier<Map<K, Long>>) - Method in class cool.scx.collections.count_map.CountMap
- toMap(Supplier<Map<K, Long>>) - Method in interface cool.scx.collections.count_map.ICountMap
- toMultiValueMap() - Method in interface cool.scx.collections.multi_map.IMultiMap
- toMultiValueMap() - Method in class cool.scx.collections.multi_map.MultiMap
- toSingleValueMap() - Method in interface cool.scx.collections.multi_map.IMultiMap
- toSingleValueMap() - Method in class cool.scx.collections.multi_map.MultiMap
- toSingleValueMap(Supplier<Map<K, V>>) - Method in interface cool.scx.collections.multi_map.IMultiMap
- toSingleValueMap(Supplier<Map<K, V>>) - Method in class cool.scx.collections.multi_map.MultiMap
- toString() - Method in class cool.scx.collections.count_map.CountMap
- toString() - Method in class cool.scx.collections.multi_map.MultiMap
V
- value() - Method in interface cool.scx.collections.multi_map.IMultiMapEntry
- values() - Method in interface cool.scx.collections.multi_map.IMultiMap
-
返回 MultiMap 中所有值的扁平集合 (所有键对应的 values 合并成一个列表)
- values() - Method in interface cool.scx.collections.multi_map.IMultiMapEntry
- values() - Method in class cool.scx.collections.multi_map.MultiMap
All Classes and Interfaces|All Packages