Collections
Description:
public namespace Collections
Content:
Classes:
- ArrayList - A dynamic array-backed list that
grows automatically as elements are added.
- Arrays - Static utility methods for int arrays.
- BitSet - A fixed-size or dynamically growing
set of bits.
- BloomFilter - Probabilistic membership
filter with no false negatives.
- Deque - A double-ended queue (deque) that
supports efficient insertion and removal at both ends.
- HashMap - A hash table-based map from keys to
values.
- HashSet - A hash table-based set of unique
elements.
- HyperLogLog - HyperLogLog cardinality
estimator.
- ImmutableList - Immutable list value
object.
- LinkedList - A doubly-linked list that
supports efficient insertion and removal at both ends.
- Lists - Static utility methods for ArrayList
operations.
- LruCache - LRU cache with optional TTL and
cache-miss loader.
- Maps - Static utility methods for HashMap
operations.
- MultiMap - A map that can store multiple
values per key.
- Optional - A container object that may or may
not contain a value.
- Pair - An immutable pair of two values.
- PriorityQueue - A priority queue backed
by a binary min-heap.
- Queue - A FIFO (First-In-First-Out) queue backed
by a GLib.Queue.
- Result - A container representing either a
success value or an error.
- Stack - A LIFO (Last-In-First-Out) stack backed
by a GLib.Queue.
- Stream - A fluent pipeline for transforming and
aggregating collection data.
- TreeMap - A sorted map backed by a balanced
binary search tree.
- Triple - An immutable triple of three values.
Delegates:
- public delegate void BiConsumerFunc<A,B> (A a, B b)
A function that takes two arguments and returns nothing.
- public delegate bool BiPredicateFunc<A,B> (A a, B b)
A function that takes two arguments and returns a boolean.
- public delegate V CacheLoaderFunc<K,V> (K key)
Loader function for cache misses.
- public delegate int ComparatorFunc<T> (T a, T b)
A function that compares two values for ordering.
- public delegate T ConflictResolverFunc<T> (T existing, T incoming)
Resolves collision by choosing one of two values.
- public delegate void ConsumerFunc<T> (T value)
A function that takes a value and returns nothing.
- public delegate double DoubleMapFunc<T> (T value)
A function that maps a value to a double.
- public delegate U MapFunc<T,U> (T value)
A function that transforms a value of type T to type U.
- public delegate bool PredicateFunc<T> (T value)
A function that takes a value and returns a boolean.
- public delegate U ReduceFunc<T,U> (U accumulator, T element)
A function that accumulates a value by combining an accumulator with
each element.
- public delegate T SupplierFunc<T> ()
A function that takes no arguments and returns a value.