Class CharSequenceMap<V>

java.lang.Object
org.apache.iceberg.util.CharSequenceMap<V>
Type Parameters:
V - the type of values
All Implemented Interfaces:
Serializable, Map<CharSequence,V>

public class CharSequenceMap<V> extends Object implements Map<CharSequence,V>, Serializable
A map that uses char sequences as keys.

This implementation wraps provided keys into CharSequenceWrapper for consistent hashing and equals behavior. This ensures that objects of different types that represent the same sequence of characters are treated as equal keys in the map.

Note: This map is not designed for concurrent modification by multiple threads. However, it supports safe concurrent reads, assuming there are no concurrent writes.

Note: This map does not support null keys.

See Also: