Package org.postgresql.util.internal
Class Nullness
java.lang.Object
org.postgresql.util.internal.Nullness
The methods in this class allow to cast nullable reference to a non-nullable one.
This is an internal class, and it is not meant to be used as a public API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
castNonNull
(T ref) static <T> T
castNonNull
(T ref, String message)
-
Constructor Details
-
Nullness
public Nullness()
-
-
Method Details
-
castNonNull
public static <T> T castNonNull(T ref) -
castNonNull
-