- Type Parameters:
D
- the transcoder type
- Enclosing interface:
Transcoder<D>
public static interface Transcoder.MapLike<D>
Represents an immutable
Map
like object.-
Method Summary
-
Method Details
-
keys
Gets all the keys- Returns:
- the collection of keys
-
hasValue
Checks if the map has the value mapped to the key- Parameters:
key
- the key to check- Returns:
- true if present; false otherwise
-
getValue
Gets the value of the key in a result.
Check if the key has a value usinghasValue(String)
- Parameters:
key
- the key to use- Returns:
- the result,
Result.Error
if missing
-
size
- Returns:
- the size of the map
-
isEmpty
- Returns:
- true if the size is zero
-