Java - Null

Table of Contents

About

Function

From java/util/objects

<code java>
import static java.util.Objects.requireNonNull;
.....
public constructor(String s)
{
    this.s = requireNonNull(s, "s is null");
}

See also:


Powered by ComboStrap