spring-framework / org.springframework.util / LinkedCaseInsensitiveMap / <init>

<init>

LinkedCaseInsensitiveMap()

Create a new LinkedCaseInsensitiveMap that stores case-insensitive keys according to the default Locale (by default in lower case).

See Also
#convertKey(String)

LinkedCaseInsensitiveMap(@Nullable locale: Locale)

Create a new LinkedCaseInsensitiveMap that stores case-insensitive keys according to the given Locale (by default in lower case).

Parameters

locale - the Locale to use for case-insensitive key conversion

See Also
#convertKey(String)

LinkedCaseInsensitiveMap(initialCapacity: Int)

Create a new LinkedCaseInsensitiveMap that wraps a LinkedHashMap with the given initial capacity and stores case-insensitive keys according to the default Locale (by default in lower case).

Parameters

initialCapacity - the initial capacity

See Also
#convertKey(String)

LinkedCaseInsensitiveMap(initialCapacity: Int, @Nullable locale: Locale)

Create a new LinkedCaseInsensitiveMap that wraps a LinkedHashMap with the given initial capacity and stores case-insensitive keys according to the given Locale (by default in lower case).

Parameters

initialCapacity - the initial capacity

locale - the Locale to use for case-insensitive key conversion

See Also
#convertKey(String)