public final class ObjectUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
checkNotNull(T arg,
String text)
Checks that the given argument is not null.
|
public static <T> T checkNotNull(T arg,
String text)
NullPointerException.
Otherwise, returns the argument.Copyright © 2008–2015 The Netty Project. All rights reserved.