not Null
@Contract(value = "null, _ -> fail" )
Content copied to clipboard
Check that the object is not null, otherwise throw a GraphPreconditionFailure with the given message.
Parameters
o
The object o check for nullness.
message
A description of the failure.
Throws
If the object is null.