◆ getNotNull()
static <T> T fiftyone.pipeline.util.Check.getNotNull | ( | T | value, |
String | message | ||
) |
static
Checks if a value is null, and throws an IllegalArgumentException if it is.
- Parameters
-
- value - to check
- message - message to add to the exception if one is thrown
- <T> - type of the value
- Returns
- the value that was checked