◆ get()
<T> T fiftyone.pipeline.core.typed.TypedKeyMap.get | ( | TypedKey< T > | typedKey | ) |
Get a value from a typed key.
- Parameters
-
- typedKey - the value to get
- <T> - type of the value
- Returns
- a value or null if not present
\r\n
Provides access to a type safe collection of data.
The collection is not necessarily stored in a type safe way, in other words, irrespective that item a and b have same name and different type are not equal, they may overwrite each other in the map.
In any case, when accessed via the asStringKeyMap() method, they will arbitrarily overwrite each other.
< T > T | get (TypedKey< T > typedKey)
Get a value from a typed key. More...
|
< T > T | get (Class< T > type) |
<T> T fiftyone.pipeline.core.typed.TypedKeyMap.get | ( | TypedKey< T > | typedKey | ) |
Get a value from a typed key.
<T> void fiftyone.pipeline.core.typed.TypedKeyMap.put | ( | TypedKey< T > | typedKey, |
T | value | ||
) |
Put a key and value.
May overwrite a typedKey of the same name.