Interface Keys
@Internal
public interface Keys
A reusable key set for known object keys.
- Since:
- 3.1
- Author:
- Denis Stepanov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intReturned byindexOf(String)when a key is unknown. -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanWhether key matching should be case-insensitive.static KeysCreate a key set for the supplied keys.static KeysCreate a key set for the supplied keys.static KeysCreate a key set for the supplied keys.static KeysCreate a key set for the supplied keys.intFind the index of the supplied key.
-
Field Details
-
UNKNOWN_KEY
-
-
Method Details
-
create
-
create
-
create
-
create
-
indexOf
Find the index of the supplied key.- Parameters:
key- The key- Returns:
- The key index, or
UNKNOWN_KEYif no key matches
-
caseInsensitive
default boolean caseInsensitive()Whether key matching should be case-insensitive.- Returns:
- True if key matching should ignore case
-