Package org.postgresql.util.internal
Class Nullness
- java.lang.Object
-
- org.postgresql.util.internal.Nullness
-
public class Nullness extends java.lang.Object
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 Constructor Description Nullness()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
castNonNull(T ref)
static <T> T
castNonNull(T ref, java.lang.String message)
-