Constructor and Description |
---|
CIKeyMap(@NonNull Client client)
Constructs a map tied to a client.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(@Nullable Object key) |
boolean |
containsValue(@Nullable Object value) |
@NonNull Set<Map.Entry<String,Value>> |
entrySet()
Gets an UNCHANGING representation of the entries.
|
Value |
get(@Nullable Object key) |
boolean |
isEmpty() |
@NonNull Set<String> |
keySet()
Gets an UNCHANGING representation of the keys.
|
Value |
put(@NonNull String key,
Value value) |
void |
putAll(@NonNull Map<? extends String,? extends Value> m) |
Value |
remove(@Nullable Object key) |
int |
size() |
protected @NonNull String |
toLowerCase(@NonNull String input)
Converts a given input to lower case based on the current
CaseMapping . |
@NonNull String |
toString() |
@NonNull Collection<Value> |
values()
Gets an UNCHANGING representation of the values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public CIKeyMap(@NonNull Client client)
client
- the client to which this map is tiedprotected final @NonNull String toLowerCase(@NonNull String input)
CaseMapping
.input
- input to convertpublic boolean containsKey(@Nullable Object key)
containsKey
in interface Map<String,Value>
public boolean containsValue(@Nullable Object value)
containsValue
in interface Map<String,Value>
public @NonNull Collection<Value> values()
public @NonNull Set<Map.Entry<String,Value>> entrySet()
Copyright © 2013–2021 Kitteh. All rights reserved.